aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-03-12 18:18:10 +0100
committerThomas White <taw@physics.org>2015-03-12 18:18:10 +0100
commit7afbfb0e9e996e960ccf42c47f1096b33b1bcbf7 (patch)
tree80d203a79ff6612a07781679837cbae702b775ab /src
parentb771133192124344b8093d4ab171f02806e14190 (diff)
Restore weighting when determining scale factors
Diffstat (limited to 'src')
-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 a07797b4..d7db1067 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -168,7 +168,7 @@ static void run_scale_job(void *vwargs, int cookie)
x[n] = res*res;
y[n] = log(Ihl/Ih);
- w[n] = 1.0;//log(get_esd_intensity(refl)*corr);
+ w[n] = log(get_esd_intensity(refl)*corr);
n++;
}