diff options
author | Thomas White <taw@physics.org> | 2011-06-22 17:08:33 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:30 +0100 |
commit | c8464aea05863bceaf17aeb0640f5bc5d1004f13 (patch) | |
tree | 5d7f7453639d2e6d3799ad303c1f5a35c000d5be | |
parent | d0f902d9e9ad4bd52ebb430043d50c04abb7bd0c (diff) |
Only normalise scaling factors if no reference available
-rw-r--r-- | src/hrs-scaling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index eb8a6b7a..5e7593f5 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++; - if ( n > 1 ) normalise_osfs(images, n); + if ( reference == NULL ) normalise_osfs(images, n); } while ( (max_shift > 0.01) && (i < MAX_CYCLES) ); |