aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index c24b0e6b..1ffae789 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -151,7 +151,7 @@ static void simulate_and_write(struct image *simage, struct gpu_context **gctx,
{
/* Set up GPU if necessary */
if ( (gctx != NULL) && (*gctx == NULL) ) {
- *gctx = setup_gpu(0, simage, intensities);
+ *gctx = setup_gpu(0, simage, intensities, counts);
}
if ( (gctx != NULL) && (*gctx != NULL) ) {