diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hrs-scaling.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index 15f2c9f9..d04550a6 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -414,8 +414,9 @@ RefList *scale_intensities(struct image *images, int n, RefList *gref, RefList *full = NULL; const int min_redundancy = 3; + for ( i=0; i<n; i++ ) images[i].osf = 1.0; + if ( noscale ) { - for ( i=0; i<n; i++ ) images[i].osf = 1.0; full = lsq_intensities(images, n, n_threads); calculate_esds(images, n, full, n_threads, min_redundancy); return full; |