From 5e1129d5b4b9cc1cee36e4097bbe8bb9e0a53ec4 Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(win7-laptop)> Date: Thu, 9 Dec 2010 21:09:01 +0100 Subject: [PATCH] Fix logic reversal in one of the checks. --- libwccl/ops/functions/bool/predicates/strongagreement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwccl/ops/functions/bool/predicates/strongagreement.cpp b/libwccl/ops/functions/bool/predicates/strongagreement.cpp index a29be8d..8678cf4 100644 --- a/libwccl/ops/functions/bool/predicates/strongagreement.cpp +++ b/libwccl/ops/functions/bool/predicates/strongagreement.cpp @@ -76,7 +76,7 @@ StrongAgreement::BaseRetValPtr StrongAgreement::apply_internal(const FunExecCont agreement_met = false; foreach(const Corpus2::Lexeme& i_lex, sc.at(i)->lexemes()) { Corpus2::Tag i_inter = i_lex.tag().get_masked(inter); - if (attribs->matching_categories(i_inter) < min_card) { + if (attribs->matching_categories(i_inter) >= min_card) { agreement_met = true; break; } -- GitLab