Skip to content

Commit 58e5735

Browse files
committed
implement explain()
1 parent b30272f commit 58e5735

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/math/lp/dioph_eq.cpp

+2-6
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ namespace lp {
970970
SASSERT(ex.empty());
971971
TRACE("dioph_eq", tout << "conflict:"; print_eprime_entry(m_conflict_index, tout, true) << std::endl;);
972972
auto & ep = m_eprime[m_conflict_index];
973-
for (auto ci: lra.flatten(eq_deps(ep.m_l))) {
973+
for (auto ci: lra.flatten(explain_fixed_in_meta_term(ep.m_l))) {
974974
ex.push_back(ci);
975975
}
976976
TRACE("dioph_eq", lra.print_expl(tout, ex););
@@ -981,11 +981,7 @@ namespace lp {
981981
}
982982
bool can_substitute(unsigned k) {
983983
return k < m_k2s.size() && m_k2s[k] != UINT_MAX;
984-
}
985-
u_dependency * eq_deps(const lar_term& t) {
986-
NOT_IMPLEMENTED_YET();
987-
return nullptr;
988-
}
984+
}
989985
};
990986
// Constructor definition
991987
dioph_eq::dioph_eq(int_solver& lia) {

0 commit comments

Comments
 (0)