aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indexamajig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index d222d390..c21dc22f 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -321,10 +321,10 @@ static void *process_image(void *pargsv)
/* Measure intensities if requested */
if ( config_nearbragg ) {
/* Use original data (temporarily) */
- simage->data = data_for_measurement;
- output_intensities(simage, image.indexed_cell,
+ image.data = data_for_measurement;
+ output_intensities(&image, image.indexed_cell,
pargs->output_mutex, config_unpolar);
- simage->data = NULL;
+ image.data = NULL;
}
simage = get_simage(&image, config_alternate);