3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-20 21:03:39 +00:00

account for updating scoped state by goal2sat #5528

This commit is contained in:
Nikolaj Bjorner 2021-09-02 04:20:19 -07:00
parent f4abe3db02
commit e05ef8ece9

View file

@ -954,9 +954,11 @@ struct goal2sat::imp : public sat::sat_internalizer {
}
void user_push() {
push();
}
void user_pop(unsigned n) {
pop(n);
}
};
@ -1011,14 +1013,6 @@ void goal2sat::operator()(goal const & g, params_ref const & p, sat::solver_core
m_imp->user_push();
}
(*m_imp)(g);
if (!t.get_extension() && m_imp->interpreted_funs().empty()) {
dealloc(m_imp);
m_imp = nullptr;
}
else
m_scopes = 0;
}
void goal2sat::get_interpreted_funs(func_decl_ref_vector& funs) {