mirror of
https://github.com/Z3Prover/z3
synced 2025-07-27 06:27:56 +00:00
skip on_merge for equality nodes
This commit is contained in:
parent
83aeba9ef4
commit
482e4da4d7
1 changed files with 5 additions and 1 deletions
|
@ -841,6 +841,10 @@ namespace polysat {
|
||||||
LOG("on_merge: root " << slice_pp(*this, root) << " other " << slice_pp(*this, other));
|
LOG("on_merge: root " << slice_pp(*this, root) << " other " << slice_pp(*this, other));
|
||||||
if (root->interpreted())
|
if (root->interpreted())
|
||||||
return;
|
return;
|
||||||
|
if (root->is_equality()) {
|
||||||
|
SASSERT(other->is_equality());
|
||||||
|
return;
|
||||||
|
}
|
||||||
SASSERT(!other->interpreted()); // by convention, interpreted nodes are always chosen as root
|
SASSERT(!other->interpreted()); // by convention, interpreted nodes are always chosen as root
|
||||||
SASSERT(root != other);
|
SASSERT(root != other);
|
||||||
SASSERT_EQ(root, root->get_root());
|
SASSERT_EQ(root, root->get_root());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue