aboutsummaryrefslogtreecommitdiff
path: root/src/hrs-scaling.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hrs-scaling.c')
-rw-r--r--src/hrs-scaling.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index 2c5c586c..b2d52f77 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -93,7 +93,9 @@ static void s_uhavha(signed int hat, signed int kat, signed int lat,
if ( !get_scalable(refl) ) continue;
ic = get_intensity(refl) / get_partiality(refl);
- sigi = ic / 10.0; /* FIXME */
+
+ /* Get the error in the estimated full intensity */
+ sigi = get_esd_intensity(refl) / get_partiality(refl);
uha_val += 1.0 / pow(sigi, 2.0);
vha_val += ic / pow(sigi, 2.0);