aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-04-14 14:11:31 +0200
committerThomas White <taw@physics.org>2010-04-14 14:11:31 +0200
commit7677d79ffc64e384549b436d20fbb01d0e5dfcea (patch)
tree109d3c255baf5c208f1fed1c4ee82ca7aa2358c9
parentc822d49f5e1746b1113f584af25cab42113de23a (diff)
indexamajig: Use indexed cell for simulation
-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);
}
}