aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indexamajig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 2b0c9d2c..bb02d0f2 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -330,11 +330,11 @@ static void *process_image(void *pargsv)
if ( config_gpu ) {
pthread_mutex_lock(pargs->gpu_mutex);
simulate_and_write(simage, &gctx, intensities,
- counts, cell);
+ counts, image.indexed_cell);
pthread_mutex_unlock(pargs->gpu_mutex);
} else {
simulate_and_write(simage, NULL, intensities,
- counts, cell);
+ counts, image.indexed_cell);
}
}