diff --git a/src/math/dd/pdd_eval.h b/src/math/dd/pdd_eval.h index e4ca7f88c..ac590686b 100644 --- a/src/math/dd/pdd_eval.h +++ b/src/math/dd/pdd_eval.h @@ -30,8 +30,9 @@ public: pdd_eval(pdd_manager& m): m(m) {} - void operator=(std::function& i2v) { m_var2val = i2v; } - + std::function& var2val() { return m_var2val; } // setter + const std::function& var2val() const { return m_var2val; } // getter + rational operator()(pdd const& p) { if (p.is_val()) { return p.val();