3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

fixes in bound setting in cube, and in lar_solver

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-03-08 12:06:16 -07:00
parent a80eb13420
commit f636a481d3

View file

@ -1784,6 +1784,8 @@ void lar_solver::activate(constraint_index ci) {
mpq lar_solver::adjust_bound_for_int(lpvar j, lconstraint_kind& k, const mpq& bound) {
if (!column_is_int(j))
return bound;
if (bound.is_int())
return bound;
switch (k) {
case LT:
k = LE;