fix(library/blast/congruence_closure): bug at is_congr_root
This commit is contained in:
parent
c44ad80e4e
commit
565a294489
1 changed files with 1 additions and 1 deletions
|
@ -1179,7 +1179,7 @@ optional<expr> congruence_closure::get_disproof(expr const & e) const {
|
||||||
|
|
||||||
bool congruence_closure::is_congr_root(name const & R, expr const & e) const {
|
bool congruence_closure::is_congr_root(name const & R, expr const & e) const {
|
||||||
if (auto n = m_entries.find(eqc_key(R, e))) {
|
if (auto n = m_entries.find(eqc_key(R, e))) {
|
||||||
return n->m_cg_root;
|
return e == n->m_cg_root;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue