mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
Removed wrong assertion
This commit is contained in:
parent
88d11c9381
commit
e8163b1769
1 changed files with 1 additions and 2 deletions
|
@ -662,8 +662,6 @@ namespace polysat {
|
|||
rational prodv = (pv * rv).val();
|
||||
if (prodv != rational::power_of_two(parity_pv))
|
||||
verbose_stream() << prodv << " " << rational::power_of_two(parity_pv) << " " << parity_pv << " " << pv << " " << rv << "\n";
|
||||
SASSERT(prodv != rational::power_of_two(parity_pv)); // Why did it evaluate to false in this case?
|
||||
VERIFY(prodv != rational::power_of_two(parity_pv)); // Why did it evaluate to false in this case?
|
||||
unsigned lower = 0, upper = m.power_of_2();
|
||||
// binary search for the parity (otw. we would have justifications like "parity_at_most(k) && parity_at_least(k)" for at most "k" widths
|
||||
while (lower + 1 < upper) {
|
||||
|
@ -688,6 +686,7 @@ namespace polysat {
|
|||
if (rv.val() > max_rv)
|
||||
return s.mk_clause(~invc, s.parity_at_least(p(), middle), s.ule(r(), max_rv), false);
|
||||
}
|
||||
// Why did it evaluate to false in this case?
|
||||
UNREACHABLE();
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue