aboutsummaryrefslogtreecommitdiff
path: root/src/hrs-scaling.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-07 15:17:40 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:32 +0100
commit2c932f6cef1d273ef7f71fddd1582f9fb8bbe8d8 (patch)
treeb049b27a226669cc2cd0bf9dc5f88569101de9af /src/hrs-scaling.c
parentf96e5b1bfc8b5f4d2d63ddc9cfa58e6c7713c158 (diff)
Do errors properly
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);