aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;