aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-12-13 09:12:39 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:42 +0100
commit5c633bf1d61b8fd659139f591eb6a78a3e57b946 (patch)
tree24d859ca787bd1d2e882c9e83cda05b74e2c937f
parent0c968c0bf43cb56d37bf893e46dde2083cca5c10 (diff)
Another 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 34e0b8ca..af8db28f 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -607,7 +607,7 @@ void integrate_reflections(struct image *image, int polar, int use_closer,
bgsub);
/* I/sigma(I) cutoff */
- if ( intensity/sigma < min_snr ) r = 0;
+ if ( intensity/sigma < min_snr ) r = 1;
/* Record intensity and set redundancy to 1 on success */
if ( r == 0 ) {