mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
Move out equality use out of the loop
This commit is contained in:
parent
0353fc38ff
commit
71fc83c051
|
@ -551,11 +551,12 @@ namespace smt {
|
||||||
if (aarg->get_root() == child->get_root()) {
|
if (aarg->get_root() == child->get_root()) {
|
||||||
if (aarg != child)
|
if (aarg != child)
|
||||||
m_used_eqs.push_back(enode_pair(aarg, child));
|
m_used_eqs.push_back(enode_pair(aarg, child));
|
||||||
if (sibling != arg)
|
|
||||||
m_used_eqs.push_back(enode_pair(arg, sibling));
|
|
||||||
found = true;
|
found = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (sibling && sibling != arg)
|
||||||
|
m_used_eqs.push_back(enode_pair(arg, sibling));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
VERIFY(found);
|
VERIFY(found);
|
||||||
|
|
Loading…
Reference in a new issue