aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-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 1de7f132..eda43a23 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -614,7 +614,7 @@ int peak_sanity_check(struct image *image, Crystal **crystals, int n_cryst)
}
/* 0 means failed test, 1 means passed test */
- return (n_sane > 5) || (((double)n_sane / n_feat) >= 0.5);
+ return ((double)n_sane / n_feat) >= 0.5;
}