mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Fix unsoundness in previous commit
This commit is contained in:
parent
7e7cea54f4
commit
1bc4313333
1 changed files with 3 additions and 0 deletions
|
@ -417,6 +417,9 @@ namespace polysat {
|
|||
|
||||
fi.coeff = 1;
|
||||
fi.interval = eval_interval::proper(lo, lo_val, hi, hi_val);
|
||||
// RHS == 0 is a precondition because we can only multiply with a^-1 in equations, not inequalities
|
||||
if (b2 != e2)
|
||||
fi.side_cond.push_back(s.eq(b2, e2));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue