mirror of
https://github.com/Z3Prover/z3
synced 2025-06-07 06:33:23 +00:00
fix #3058: missing cache reset in dom_simplify of not
just introduced the bug 5 mins ago..
This commit is contained in:
parent
8b97e26fd7
commit
55df045f85
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,6 @@ Notes:
|
||||||
#include "ast/ast_pp.h"
|
#include "ast/ast_pp.h"
|
||||||
#include "tactic/core/dom_simplify_tactic.h"
|
#include "tactic/core/dom_simplify_tactic.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\brief compute a post-order traversal for e.
|
\brief compute a post-order traversal for e.
|
||||||
Also populate the set of parents
|
Also populate the set of parents
|
||||||
|
@ -358,6 +357,7 @@ expr_ref dom_simplify_tactic::simplify_not(app * e) {
|
||||||
unsigned old_lvl = scope_level();
|
unsigned old_lvl = scope_level();
|
||||||
expr_ref t = simplify_rec(ee);
|
expr_ref t = simplify_rec(ee);
|
||||||
pop(scope_level() - old_lvl);
|
pop(scope_level() - old_lvl);
|
||||||
|
reset_cache();
|
||||||
return mk_not(t);
|
return mk_not(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue