aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-09-29 17:27:20 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commitc61bb4faabafb8fd7d132a431a37057bee1cb109 (patch)
treeb7679f7e0c86cd9fb534856f7be173a25a356d40 /src
parentb9d367b3e60007cb98dbca16a6bc6ccc4be43ce2 (diff)
Don't bother setting scale factors to 1 before iteration
Diffstat (limited to 'src')
-rw-r--r--src/hrs-scaling.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index c3fded0d..52d88214 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -313,10 +313,6 @@ RefList *scale_intensities(struct image *images, int n, RefList *gref,
double max_corr;
RefList *full = NULL;
- for ( i=0; i<n; i++ ) {
- images[i].osf = 1.0;
- }
-
/* No reference -> create an initial list to refine against */
if ( gref == NULL ) {
full = lsq_intensities(images, n);