aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent5d9b07f330dcc1ed234fc8bc197eaf40a837d03f (diff)
Fix use of G
Diffstat (limited to 'src')
-rw-r--r--src/hrs-scaling.c2
-rw-r--r--src/scaling-report.c2
2 files changed, 2 insertions, 2 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);
diff --git a/src/scaling-report.c b/src/scaling-report.c
index 17268489..89b2f3f2 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -449,7 +449,7 @@ static void scale_factor_histogram(cairo_t *cr, Crystal **crystals, int n,
show_text_simple(cr, "Frequency", -15.0, g_height/2.0,
NULL, -M_PI_2, J_CENTER);
- show_text_simple(cr, "Inverse scale factor", g_width/2.0, g_height+12.0,
+ show_text_simple(cr, "Scale factor", g_width/2.0, g_height+12.0,
NULL, 0.0, J_CENTER);
osf_max = 0.0;