Skip to content

Commit

Permalink
fix #6659
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Mar 31, 2023
1 parent 6aaaa3b commit a849a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/simplifiers/dominator_simplifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class dominator_simplifier : public dependent_expr_simplifier {
bool is_subexpr(expr * a, expr * b);

expr_ref get_cached(expr* t) { expr* r = nullptr; if (!m_result.find(t, r)) r = t; return expr_ref(r, m); }
void cache(expr *t, expr* r) { m_result.insert(t, r); m_trail.push_back(r); }
void cache(expr *t, expr* r) { m_result.insert(t, r); m_trail.push_back(r); m_trail.push_back(t); }
void reset_cache() { m_result.reset(); }

ptr_vector<expr> const & tree(expr * e);
Expand Down

0 comments on commit a849a29

Please sign in to comment.