diff options
Diffstat (limited to 'src/hrs-scaling.c')
-rw-r--r-- | src/hrs-scaling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index 1e51fd4c..2a50d06a 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -331,7 +331,7 @@ static void run_merge_job(void *vwargs, int cookie) corr = exp(2.0*B*res*res) * get_lorentz(refl) / (G * get_partiality(refl)); - esd = get_esd_intensity(refl) * corr; + esd = fabs(get_esd_intensity(refl) * corr); w = 1.0 / pow(esd, 0.5); /* Running mean and variance calculation */ |