3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-05 11:39:25 -07:00
parent 077f2248ca
commit 1949a978ce
2 changed files with 4 additions and 0 deletions

View file

@ -1152,6 +1152,8 @@ namespace sat {
}
literal l(v, false);
if (mdl[v] != l_true) l.neg();
if (inconsistent())
return l_undef;
push();
assign_core(l, justification(scope_lvl()));
propagate(false);

View file

@ -380,6 +380,8 @@ public:
}
}
convert_internalized();
if (m_solver.inconsistent())
return last_cube(false);
obj_hashtable<expr> _vs;
for (expr* v : vs) _vs.insert(v);
sat::bool_var_vector vars;