Skip to content

Commit

Permalink
implement explain()
Browse files Browse the repository at this point in the history
  • Loading branch information
levnach committed Feb 11, 2025
1 parent b30272f commit 58e5735
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/math/lp/dioph_eq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ namespace lp {
SASSERT(ex.empty());
TRACE("dioph_eq", tout << "conflict:"; print_eprime_entry(m_conflict_index, tout, true) << std::endl;);
auto & ep = m_eprime[m_conflict_index];
for (auto ci: lra.flatten(eq_deps(ep.m_l))) {
for (auto ci: lra.flatten(explain_fixed_in_meta_term(ep.m_l))) {
ex.push_back(ci);
}
TRACE("dioph_eq", lra.print_expl(tout, ex););
Expand All @@ -981,11 +981,7 @@ namespace lp {
}
bool can_substitute(unsigned k) {
return k < m_k2s.size() && m_k2s[k] != UINT_MAX;
}
u_dependency * eq_deps(const lar_term& t) {
NOT_IMPLEMENTED_YET();
return nullptr;
}
}
};
// Constructor definition
dioph_eq::dioph_eq(int_solver& lia) {
Expand Down

0 comments on commit 58e5735

Please sign in to comment.