aboutsummaryrefslogtreecommitdiff
path: root/src/rejection.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-02-27 13:44:29 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:42 +0100
commitbc24110f035c62b3e7e873a2b84c47bcf7414f19 (patch)
tree9208ba54ae6178437665aafa5178bb3868e118bf /src/rejection.c
parentde9fbc4335a5d2e3896381403f4b1b5b19dcf444 (diff)
Scaling fixes
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 a44b697f..9d41f9b4 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 = (1.0/G) * exp(B*res*res) * get_lorentz(refl);
+ corr = G * exp(B*res*res) * get_lorentz(refl);
Ipart = get_intensity(refl) * corr;
pobs = Ipart / get_intensity(match);