diff options
Diffstat (limited to 'src/hrs-scaling.c')
-rw-r--r-- | src/hrs-scaling.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index 01a40fbf..a07797b4 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -145,9 +145,10 @@ static void run_scale_job(void *vwargs, int cookie) continue; } + corr = get_lorentz(refl) / get_partiality(refl); + Ih = get_intensity(r); - corr = get_partiality(refl) * get_lorentz(refl); - Ihl = get_intensity(refl) / corr; + Ihl = get_intensity(refl) * corr; if ( Ihl <= 0.0 ) continue; if ( Ih <= 0.0 ) continue; |