mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
fix crash in elim_constr2
This commit is contained in:
parent
93cf989b78
commit
7e4a1f246e
|
@ -243,7 +243,7 @@ elim_unconstrained::node& elim_unconstrained::get_node(expr* t) {
|
||||||
node& ch = get_node(arg);
|
node& ch = get_node(arg);
|
||||||
SASSERT(ch.is_root());
|
SASSERT(ch.is_root());
|
||||||
ch.add_parent(*n);
|
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());
|
m_heap.increased(arg->get_id());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue