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:
parent
a80eb13420
commit
f636a481d3
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue