mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 01:32:17 +00:00
Bug fix for inverse of lsb-mask
This commit is contained in:
parent
578f2ec4e8
commit
790229a5d9
2 changed files with 1 additions and 4 deletions
|
@ -388,7 +388,7 @@ namespace polysat {
|
||||||
rational inv;
|
rational inv;
|
||||||
VERIFY(first.coeff.mult_inverse(lhs.power_of_2(), inv));
|
VERIFY(first.coeff.mult_inverse(lhs.power_of_2(), inv));
|
||||||
p *= inv;
|
p *= inv;
|
||||||
mask.bits *= inv;
|
mask.bits = mod2k(mask.bits * inv, span);
|
||||||
}
|
}
|
||||||
|
|
||||||
mask.length = span;
|
mask.length = span;
|
||||||
|
|
|
@ -1317,9 +1317,6 @@ namespace {
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (refinements % 50 == 0)
|
|
||||||
verbose_stream() << "Refinements " << refinements << "\n";
|
|
||||||
|
|
||||||
if (res != l_undef)
|
if (res != l_undef)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue