3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 11:37:54 +00:00

bugfix: don't intersect forbidden intervals if variable is already assigned

This commit is contained in:
Jakob Rath 2023-01-09 17:10:18 +01:00
parent aafd9039db
commit 3f5e6a4bfa
2 changed files with 7 additions and 0 deletions

View file

@ -783,6 +783,7 @@ namespace polysat {
}
void solver::assign_core(pvar v, rational const& val, justification const& j) {
VERIFY(!is_assigned(v));
if (j.is_decision())
++m_stats.m_num_decisions;
else