mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 21:03:39 +00:00
fix assertion
This commit is contained in:
parent
89aaf4b1a6
commit
d24c9352a4
1 changed files with 4 additions and 2 deletions
|
@ -876,8 +876,10 @@ namespace polysat {
|
||||||
case find_t::singleton:
|
case find_t::singleton:
|
||||||
// Any propagations should have been discovered by viable::intersect.
|
// Any propagations should have been discovered by viable::intersect.
|
||||||
// The fallback solver currently does not detect propagations, because we would need to handle justifications differently.
|
// The fallback solver currently does not detect propagations, because we would need to handle justifications differently.
|
||||||
UNREACHABLE();
|
// However, this case may still occur if during viable::intersect, we run into the refinement budget,
|
||||||
Z3_fallthrough; // we could still treat it as decision
|
// but here, we continue refinement and actually succeed until propagation.
|
||||||
|
assign_propagate(v, val);
|
||||||
|
return;
|
||||||
case find_t::multiple:
|
case find_t::multiple:
|
||||||
j = justification::decision(m_level + 1);
|
j = justification::decision(m_level + 1);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue