3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-06-06 08:11:19 +02:00
parent 770c51ad2b
commit 49610f5159

View file

@ -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);