aboutsummaryrefslogtreecommitdiff
path: root/src/rejection.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-10-26 15:51:29 +0200
committerThomas White <taw@physics.org>2018-02-27 17:12:41 +0100
commitdc854c240913d4c179f49c35f7b869e2c39b86c7 (patch)
tree159a94333cce8f237093e6b4621cde869871ddb4 /src/rejection.c
parentcbee076c3608dc19027f8f49c67ff01aef2e5b3f (diff)
Store scale factor in linear form
Diffstat (limited to 'src/rejection.c')
-rw-r--r--src/rejection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rejection.c b/src/rejection.c
index 10f13f9c..a44b697f 100644
--- a/src/rejection.c
+++ b/src/rejection.c
@@ -137,7 +137,7 @@ static void check_cc(Crystal *cr, RefList *full)
pcalc = get_partiality(refl);
/* Observed partiality */
- corr = exp(-G) * exp(B*res*res) * get_lorentz(refl);
+ corr = (1.0/G) * exp(B*res*res) * get_lorentz(refl);
Ipart = get_intensity(refl) * corr;
pobs = Ipart / get_intensity(match);