aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-05-26 18:24:13 +0200
committerThomas White <taw@physics.org>2010-05-26 18:24:13 +0200
commit2ea2488a3752ccb12bae10ae5bf8446f2f3f99f3 (patch)
tree0b48935237d0f1c724b9aa6eda4d350e4e02cdea
parent086e7ecfc9bb1cffaecc6985491210331b221052 (diff)
Fix "Don't use simage for intensity output"
-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);