aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/diffraction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index a09d993b..8bf3b0c1 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -296,6 +296,7 @@ static double molecule_factor(const double *intensities, const double *phases,
switch ( m ) {
case GRADIENT_MOSAIC :
+ fesetround(1); /* Round to nearest */
h = (signed int)rint(hd);
k = (signed int)rint(kd);
l = (signed int)rint(ld);