3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +00:00
This commit is contained in:
Lev Nachmanson 2023-09-16 13:54:14 -07:00
parent c240f62ca8
commit 77e56b0a69
5 changed files with 12 additions and 7 deletions

View file

@ -36,7 +36,7 @@ class implied_bound {
std::function<u_dependency*(int *)> m_explain_bound = nullptr;
public:
// s is expected to be the pointer to lp_bound_propagator.
u_dependency* explain(int * s) const { return m_explain_bound(s); }
u_dependency* explain_implied(int * s) const { return m_explain_bound(s); }
void set_explain(std::function<u_dependency*(int *)> f) { m_explain_bound = f; }
lconstraint_kind kind() const {
lconstraint_kind k = m_is_lower_bound? GE : LE;