mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 20:38:43 +00:00
reset-assertions resets everything (also declarations, and we take scopes) when global-declarations is false. v2.5
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8e5dec882b
commit
3f02beb820
|
@ -1493,6 +1493,11 @@ void cmd_context::check_sat(unsigned num_assumptions, expr * const * assumptions
|
|||
}
|
||||
|
||||
void cmd_context::reset_assertions() {
|
||||
if (!m_global_decls) {
|
||||
reset(false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_opt) {
|
||||
m_opt = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue