aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-03-12 13:29:32 +0100
committerThomas White <taw@physics.org>2015-03-12 16:37:25 +0100
commit16c379b24dffd61a67f9ead5b08e400ffba4a8d3 (patch)
tree1b7ace6bd55ffb271021fadd36b9b5432fd6f650 /src
parent3456372cb8a520ba187d3d8afe187c83c93a30b4 (diff)
Fix silly bug in B factor
Diffstat (limited to 'src')
-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 21b0c3fd..21b9ebc1 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -327,7 +327,7 @@ static void run_merge_job(void *vwargs, int cookie)
res = resolution(crystal_get_cell(cr), h, k, l);
/* Total (multiplicative) correction factor */
- corr = G * exp(2.0*B*res) * get_lorentz(refl)
+ corr = G * exp(2.0*B*res*res) * get_lorentz(refl)
/ get_partiality(refl);
esd = get_esd_intensity(refl) * corr;