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

fix crash in elim_constr2

This commit is contained in:
Nikolaj Bjorner 2025-03-24 12:35:57 -07:00
parent 93cf989b78
commit 7e4a1f246e

View file

@ -243,7 +243,7 @@ elim_unconstrained::node& elim_unconstrained::get_node(expr* t) {
node& ch = get_node(arg);
SASSERT(ch.is_root());
ch.add_parent(*n);
if (is_uninterp_const(arg))
if (is_uninterp_const(arg) && m_heap.contains(arg->get_id()))
m_heap.increased(arg->get_id());
}
}