From dc854c240913d4c179f49c35f7b869e2c39b86c7 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 26 Oct 2017 15:51:29 +0200 Subject: Store scale factor in linear form --- src/rejection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rejection.c') 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); -- cgit v1.2.3