mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 17:08:45 +00:00
fix regression bug in mam reported by Aseem
This commit is contained in:
parent
47fdd6c060
commit
3e6ff768a5
2 changed files with 2 additions and 6 deletions
|
@ -2082,11 +2082,9 @@ namespace q {
|
||||||
p = p->get_root();
|
p = p->get_root();
|
||||||
for (enode* p2 : euf::enode_parents(p)) {
|
for (enode* p2 : euf::enode_parents(p)) {
|
||||||
if (p2->get_decl() == f &&
|
if (p2->get_decl() == f &&
|
||||||
num_args == n->num_args() &&
|
|
||||||
num_args == p2->num_args() &&
|
|
||||||
ctx.is_relevant(p2) &&
|
ctx.is_relevant(p2) &&
|
||||||
p2->is_cgr() &&
|
p2->is_cgr() &&
|
||||||
i < num_args &&
|
i < p2->num_args() &&
|
||||||
p2->get_arg(i)->get_root() == p) {
|
p2->get_arg(i)->get_root() == p) {
|
||||||
v->push_back(p2);
|
v->push_back(p2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2109,11 +2109,9 @@ namespace {
|
||||||
for (; it2 != end2; ++it2) {
|
for (; it2 != end2; ++it2) {
|
||||||
enode * p2 = *it2;
|
enode * p2 = *it2;
|
||||||
if (p2->get_decl() == f &&
|
if (p2->get_decl() == f &&
|
||||||
num_args == n->get_num_args() &&
|
|
||||||
num_args == p2->get_num_args() &&
|
|
||||||
m_context.is_relevant(p2) &&
|
m_context.is_relevant(p2) &&
|
||||||
p2->is_cgr() &&
|
p2->is_cgr() &&
|
||||||
i < num_args &&
|
i < p2->get_num_args() &&
|
||||||
p2->get_arg(i)->get_root() == p) {
|
p2->get_arg(i)->get_root() == p) {
|
||||||
v->push_back(p2);
|
v->push_back(p2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue