mirror of
https://github.com/Z3Prover/z3
synced 2025-11-14 18:11:16 +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;
|
||||
VERIFY(first.coeff.mult_inverse(lhs.power_of_2(), inv));
|
||||
p *= inv;
|
||||
mask.bits *= inv;
|
||||
mask.bits = mod2k(mask.bits * inv, span);
|
||||
}
|
||||
|
||||
mask.length = span;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue