Skip to content

Commit

Permalink
fix #7246
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Jun 6, 2024
1 parent 770c51a commit 49610f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sat/sat_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3712,6 +3712,8 @@ namespace sat {
}

void solver::user_pop(unsigned num_scopes) {
if (m_user_scope_literals.empty())
return;
unsigned old_sz = m_user_scope_literals.size() - num_scopes;
bool_var max_var = m_user_scope_literals[old_sz].var();
m_user_scope_literals.shrink(old_sz);
Expand Down

0 comments on commit 49610f5

Please sign in to comment.