aboutsummaryrefslogtreecommitdiff
path: root/src/hrs-scaling.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-12-05 15:37:23 +0100
committerThomas White <taw@physics.org>2013-12-05 15:37:23 +0100
commitabe73b8b1aa9fe2d3cb7fa779272fa20e841b0b3 (patch)
tree3062a5630af79dd762e03e08c65b8e60af2ffa32 /src/hrs-scaling.c
parent5d9b07f330dcc1ed234fc8bc197eaf40a837d03f (diff)
Fix use of G
Diffstat (limited to 'src/hrs-scaling.c')
-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 a5393791..c59d6f3b 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -441,7 +441,7 @@ static void run_esd_job(void *vwargs, int cookie)
}
Ih = get_intensity(f);
- Ihl = get_intensity(refl) / (corr * G);
+ Ihl = G * get_intensity(refl) / corr;
num += pow(Ihl - Ih, 2.0);