aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ) {