dev(lp): fix infeasibility evidence check

Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
This commit is contained in:
Lev Nachmanson 2016-01-09 01:35:30 -08:00 committed by Leonardo de Moura
parent d9acf90f7b
commit d098dfe326

View file

@ -451,7 +451,7 @@ public:
if (kind == GE || kind == GT) n_of_G++;
else if (kind == LE || kind == LT) n_of_L++;
}
the_kind_of_sum = n_of_G? GE : LE;
the_kind_of_sum = n_of_G? GE : (n_of_L? LE : EQ);
if (strict)
the_kind_of_sum = static_cast<lconstraint_kind>((static_cast<int>(the_kind_of_sum)/2));