3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-12 18:50:17 +00:00

revert change to setup_context that delays it until there are assertions

This commit is contained in:
Nikolaj Bjorner 2024-12-21 11:53:46 +01:00
parent db9f45dfec
commit da6a5facca
3 changed files with 9 additions and 12 deletions

View file

@ -533,7 +533,7 @@ namespace smt {
lbool context::preferred_sat(expr_ref_vector const& asms, vector<expr_ref_vector>& cores) {
pop_to_base_lvl();
cores.reset();
setup_context(false, !asms.empty());
setup_context(false);
internalize_assertions();
if (m_asserted_formulas.inconsistent() || inconsistent()) {
return l_false;