3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-02 20:31:21 +00:00

if you are really reading this commit message, you must be a programmer who has no life.

This commit is contained in:
Nikolaj Bjorner 2021-11-18 10:10:50 -08:00
parent a5fdf6ba8a
commit de424713e4
6 changed files with 33 additions and 16 deletions

View file

@ -369,7 +369,7 @@ namespace polysat {
rational const& a2, pdd const& b2, pdd const& e2,
eval_interval& interval, vector<signed_constraint>& side_cond) {
if (a1.is_odd() && a2.is_zero() && b2.val().is_zero()) {
push_eq(false, e2, side_cond);
push_eq(true, e2, side_cond);
rational a_inv, pow2 = e1.manager().max_value() + 1;
VERIFY(a1.mult_inverse(e1.manager().power_of_2(), a_inv));
auto lo = -e1 * a_inv;