aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/geometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c
index fa896cd0..5b2107d1 100644
--- a/libcrystfel/src/geometry.c
+++ b/libcrystfel/src/geometry.c
@@ -348,7 +348,7 @@ static Reflection *check_reflection(struct image *image, Crystal *cryst,
if ( exponent > -700.0 ) {
overlap_integral = exp(exponent) * sqrt(2*M_PI*R*R) / sqrt(2*M_PI*sigma2);
} else {
- exponent = 0.0;
+ overlap_integral = 0.0;
}
mean_variance(kpred, g.area*overlap_integral,