fix(library/blast/congruence_closure): bug at is_congr_root

This commit is contained in:
Leonardo de Moura 2015-11-23 11:25:58 -08:00
parent c44ad80e4e
commit 565a294489

View file

@ -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 {
if (auto n = m_entries.find(eqc_key(R, e))) {
return n->m_cg_root;
return e == n->m_cg_root;
} else {
return true;
}