3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

do not update assertions within scopes

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-07-31 15:12:46 -07:00
parent c7898b1977
commit 114f31c16a

View file

@ -171,7 +171,7 @@ lbool tactic2solver::check_sat_core(unsigned num_assumptions, expr * const * ass
m_result->set_status(l_undef);
if (reason_unknown != "")
m_result->m_unknown = reason_unknown;
if (num_assumptions == 0) {
if (num_assumptions == 0 && m_scopes.empty()) {
m_assertions.reset();
g->get_formulas(m_assertions);
}