3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

fix regression bug in mam reported by Aseem

This commit is contained in:
Nikolaj Bjorner 2021-09-10 07:06:49 +02:00
parent 47fdd6c060
commit 3e6ff768a5
2 changed files with 2 additions and 6 deletions

View file

@ -2082,11 +2082,9 @@ namespace q {
p = p->get_root();
for (enode* p2 : euf::enode_parents(p)) {
if (p2->get_decl() == f &&
num_args == n->num_args() &&
num_args == p2->num_args() &&
ctx.is_relevant(p2) &&
p2->is_cgr() &&
i < num_args &&
i < p2->num_args() &&
p2->get_arg(i)->get_root() == p) {
v->push_back(p2);
}

View file

@ -2109,11 +2109,9 @@ namespace {
for (; it2 != end2; ++it2) {
enode * p2 = *it2;
if (p2->get_decl() == f &&
num_args == n->get_num_args() &&
num_args == p2->get_num_args() &&
m_context.is_relevant(p2) &&
p2->is_cgr() &&
i < num_args &&
i < p2->get_num_args() &&
p2->get_arg(i)->get_root() == p) {
v->push_back(p2);
}