aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/merge.c b/src/merge.c
index 8017182b..96bd2e3e 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -384,7 +384,7 @@ double residual(Crystal *cr, const RefList *full, int free,
double I_full;
double int1, int2;
- if ( free && !get_flag(refl) ) continue;
+ if ( free != get_flag(refl) ) continue;
get_indices(refl, &h, &k, &l);
res = resolution(cell, h, k, l);