3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-10 17:58:06 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-03 12:39:25 -08:00
parent 794c09425e
commit 2989d9c241
2 changed files with 6 additions and 1 deletions

View file

@ -3681,7 +3681,7 @@ namespace sat {
SASSERT(num_scopes <= scope_lvl());
unsigned new_lvl = scope_lvl() - num_scopes;
scope & s = m_scopes[new_lvl];
m_inconsistent = false;
m_inconsistent = false; // TBD: use model seems to make this redundant: s.m_inconsistent;
unassign_vars(s.m_trail_lim, new_lvl);
m_scope_lvl -= num_scopes;
m_scopes.shrink(new_lvl);
@ -3766,6 +3766,7 @@ namespace sat {
//
void solver::user_push() {
pop_to_base_level();
literal lit;
bool_var new_v = mk_var(true, false);
lit = literal(new_v, false);