3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-08-03 11:17:23 -07:00
parent 60a25053c6
commit 202ed79a24
3 changed files with 8 additions and 7 deletions

View file

@ -315,14 +315,11 @@ namespace euf {
m_egraph.merge(n, nb, c);
}
if (n->is_equality()) {
SASSERT(!m.is_iff(e));
if (sign)
m_egraph.new_diseq(n);
else {
SASSERT(!m.is_iff(e));
euf::enode* na = n->get_arg(0);
euf::enode* nb = n->get_arg(1);
m_egraph.merge(na, nb, c);
}
else
m_egraph.merge(n->get_arg(0), n->get_arg(1), c);
}
}