mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
reset visited (fast mark) to not clash with occurs
This commit is contained in:
parent
6662afdd26
commit
59b7845c7d
4 changed files with 19 additions and 14 deletions
|
@ -451,7 +451,7 @@ namespace euf {
|
|||
add_literal(n1, false);
|
||||
if (n1->is_equality() && n1->value() == l_false)
|
||||
new_diseq(n1);
|
||||
remove_parents(r1, r2);
|
||||
remove_parents(r1);
|
||||
push_eq(r1, n1, r2->num_parents());
|
||||
merge_justification(n1, n2, j);
|
||||
for (enode* c : enode_class(n1))
|
||||
|
@ -464,8 +464,8 @@ namespace euf {
|
|||
cb(r2, r1);
|
||||
}
|
||||
|
||||
void egraph::remove_parents(enode* r1, enode* r2) {
|
||||
for (enode* p : enode_parents(r1)) {
|
||||
void egraph::remove_parents(enode* r) {
|
||||
for (enode* p : enode_parents(r)) {
|
||||
if (p->is_marked1())
|
||||
continue;
|
||||
if (p->merge_enabled()) {
|
||||
|
|
|
@ -220,7 +220,7 @@ namespace euf {
|
|||
void merge_th_eq(enode* n, enode* root);
|
||||
void merge_justification(enode* n1, enode* n2, justification j);
|
||||
void reinsert_parents(enode* r1, enode* r2);
|
||||
void remove_parents(enode* r1, enode* r2);
|
||||
void remove_parents(enode* r);
|
||||
void unmerge_justification(enode* n1);
|
||||
void reinsert_equality(enode* p);
|
||||
void update_children(enode* n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue