mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
fixing calls, signs
This commit is contained in:
parent
818b1129a5
commit
e8929041b8
|
@ -333,12 +333,13 @@ namespace lp {
|
|||
if (improve_lower_bound)
|
||||
term.negate();
|
||||
impq bound;
|
||||
if (!maximize_term_on_tableau(term, bound))
|
||||
if (!maximize_term_on_corrected_r_solver(term, bound))
|
||||
return false;
|
||||
|
||||
return false;
|
||||
// TODO
|
||||
if (improve_lower_bound) {
|
||||
bound.neg();
|
||||
if (column_has_lower_bound(j) && bound.x == column_lower_bound(j).x)
|
||||
return false;
|
||||
SASSERT(!column_has_lower_bound(j) || column_lower_bound(j).x < bound.x);
|
||||
|
|
|
@ -1548,7 +1548,7 @@ lbool core::check(vector<ineq>& lits, vector<lemma>& l_vec) {
|
|||
if (no_effect())
|
||||
m_monomial_bounds();
|
||||
|
||||
if (l_vec.empty() && !done() && improve_bounds())
|
||||
if (no_effect() && improve_bounds())
|
||||
return l_false;
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue