From 2ea2488a3752ccb12bae10ae5bf8446f2f3f99f3 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 26 May 2010 18:24:13 +0200 Subject: Fix "Don't use simage for intensity output" --- src/indexamajig.c | 6 +++--- 1 file 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); -- cgit v1.2.3