3
0
Fork 0
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:
Clemens Eisenhofer 2023-02-18 17:29:33 +01:00
parent 578f2ec4e8
commit 790229a5d9
2 changed files with 1 additions and 4 deletions

View file

@ -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;