mirror of
https://github.com/Z3Prover/z3
synced 2025-10-04 15:03:57 +00:00
check the lar_solver status more often
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
c95f2a5bc6
commit
efeeabe127
2 changed files with 39 additions and 8 deletions
|
@ -2974,9 +2974,11 @@ public:
|
|||
else {
|
||||
ci = m_solver->add_var_bound(vi, k, b.get_value());
|
||||
}
|
||||
if (m_solver->get_status() == lp::lp_status::INFEASIBLE) {
|
||||
return;
|
||||
}
|
||||
TRACE("arith", tout << "v" << b.get_var() << "\n";);
|
||||
add_ineq_constraint(ci, literal(bv, !is_true));
|
||||
|
||||
propagate_eqs(vi, ci, k, b);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue