aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-12-13 09:27:03 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:42 +0100
commitede65cfcd9df2a379db027ee075ef19c52dbfc57 (patch)
treefe1f559488e29bea961d378200f3c82ea875667f
parent5c633bf1d61b8fd659139f591eb6a78a3e57b946 (diff)
The next stupid bug
-rw-r--r--libcrystfel/src/peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c
index af8db28f..4d6fb79e 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -314,7 +314,7 @@ void estimate_resolution(RefList *list, UnitCell *cell,
}
*min = 0.0;
- *max = 0.0;
+ *max = INFINITY;
}