3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00

Return variable to queue

This commit is contained in:
Jakob Rath 2023-03-09 13:38:15 +01:00
parent 686f1c6aaf
commit 9773ce60d6

View file

@ -791,6 +791,7 @@ namespace polysat {
// because the fallback solver has access to all univariate constraints
// even if they are not used for intervals (e.g., op_constraints)
VERIFY(is_conflict());
m_free_pvars.unassign_var_eh(v);
return;
case find_t::singleton:
// NOTE: see comment on find_t::empty.
@ -805,6 +806,7 @@ namespace polysat {
case find_t::resource_out:
verbose_stream() << "TODO: solver::pdecide got resource_out\n";
m_lim.cancel();
m_free_pvars.unassign_var_eh(v);
return;
default:
UNREACHABLE();