aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-22 15:26:01 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:29 +0100
commitdc9d2400e3c1ab3a3362cd2aa9243260f3dfdbf4 (patch)
treebee5fd8a215709df86f5750b959e2b54ae118d22
parentb2fe958bdb5bda8e140b80735c67868d49e7faf3 (diff)
Normalise OSFs (only) if there is more than one image
-rw-r--r--src/hrs-scaling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index 9f151360..eb8a6b7a 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -475,7 +475,7 @@ RefList *scale_intensities(struct image *images, int n, const char *sym,
STATUS("Scaling iteration %2i: max shift = %5.2f\n",
i+1, max_shift);
i++;
- //normalise_osfs(images, n);
+ if ( n > 1 ) normalise_osfs(images, n);
} while ( (max_shift > 0.01) && (i < MAX_CYCLES) );