Skip to content

Commit

Permalink
fix #6488
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Dec 12, 2022
1 parent 4598af7 commit aded8e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ast/simplifiers/elim_unconstrained.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ void elim_unconstrained::freeze(expr* t) {
if (!n.m_term)
return;
n.m_refcount = UINT_MAX / 2;
m_heap.increased(root(t));
if (m_heap.contains(root(t)))
m_heap.increased(root(t));
}

void elim_unconstrained::gc(expr* t) {
Expand Down

0 comments on commit aded8e5

Please sign in to comment.