aboutsummaryrefslogtreecommitdiff
path: root/src/rejection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rejection.c')
-rw-r--r--src/rejection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rejection.c b/src/rejection.c
index 55546bbc..c07287b3 100644
--- a/src/rejection.c
+++ b/src/rejection.c
@@ -313,7 +313,7 @@ static void check_deltacchalf(Crystal **crystals, int n, RefList *full)
STATUS("deltaCChalf = %f ± %f %%\n", mean*100.0, sd*100.0);
for ( i=0; i<n; i++ ) {
- if ( vals[i] < mean-2.0*sd ) {
+ if ( (vals[i]<0.0) && (vals[i] < mean-2.0*sd) ) {
crystal_set_user_flag(crystals[i], PRFLAG_DELTACCHALF);
}
}