mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
bug fix for equality solving
This commit is contained in:
parent
ce76e3138d
commit
196788a091
|
@ -81,9 +81,9 @@ void elim_unconstrained::eliminate() {
|
||||||
m_args.reset();
|
m_args.reset();
|
||||||
for (expr* arg : *to_app(t))
|
for (expr* arg : *to_app(t))
|
||||||
m_args.push_back(get_node(arg).m_term);
|
m_args.push_back(get_node(arg).m_term);
|
||||||
if (!m_inverter(t->get_decl(), m_args.size(), m_args.data(), r, side_cond))
|
if (!m_inverter(t->get_decl(), m_args.size(), m_args.data(), r, side_cond))
|
||||||
continue;
|
continue;
|
||||||
|
SASSERT(r->get_sort() == t->get_sort());
|
||||||
m_stats.m_num_eliminated++;
|
m_stats.m_num_eliminated++;
|
||||||
n.m_refcount = 0;
|
n.m_refcount = 0;
|
||||||
SASSERT(r);
|
SASSERT(r);
|
||||||
|
|
Loading…
Reference in a new issue