aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-05-26 17:48:03 +0200
committerThomas White <taw@physics.org>2010-05-26 17:48:03 +0200
commit3b9d3e5b25e447a2e010903d2900262a929c31f2 (patch)
treeabceb877bba236b1312690ba0cc0b71d41806d5b /src/indexamajig.c
parentda99c2c265edb58af52b7b3042541df912c311e6 (diff)
Don't use simage for intensity output
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 6ea5f734..d222d390 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -318,8 +318,6 @@ static void *process_image(void *pargsv)
/* No cell at this point? Then we're done. */
if ( image.indexed_cell == NULL ) goto done;
- simage = get_simage(&image, config_alternate);
-
/* Measure intensities if requested */
if ( config_nearbragg ) {
/* Use original data (temporarily) */
@@ -329,6 +327,8 @@ static void *process_image(void *pargsv)
simage->data = NULL;
}
+ simage = get_simage(&image, config_alternate);
+
/* Simulate if requested */
if ( config_simulate ) {
if ( config_gpu ) {