diff options
author | Thomas White <taw@physics.org> | 2018-02-27 13:44:29 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-02-27 17:12:42 +0100 |
commit | bc24110f035c62b3e7e873a2b84c47bcf7414f19 (patch) | |
tree | 9208ba54ae6178437665aafa5178bb3868e118bf /src/merge.c | |
parent | de9fbc4335a5d2e3896381403f4b1b5b19dcf444 (diff) |
Scaling fixes
Diffstat (limited to 'src/merge.c')
-rw-r--r-- | src/merge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/merge.c b/src/merge.c index 33221bda..099bad2d 100644 --- a/src/merge.c +++ b/src/merge.c @@ -189,7 +189,7 @@ static void run_merge_job(void *vwargs, int cookie) } /* Total (multiplicative) correction factor */ - corr = (1.0/G) * exp(B*res*res) * get_lorentz(refl) + corr = G * exp(B*res*res) * get_lorentz(refl) / get_partiality(refl); if ( isnan(corr) ) { ERROR("NaN corr:\n"); |