mirror of
https://github.com/Z3Prover/z3
synced 2025-06-22 13:53:39 +00:00
build errors/warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bd444f8ec7
commit
88374a15d0
8 changed files with 31 additions and 38 deletions
|
@ -22,13 +22,12 @@ Revision History:
|
|||
namespace dd {
|
||||
// calculates the value of a pdd expression based on the given values of the variables
|
||||
class pdd_eval {
|
||||
pdd_manager& m;
|
||||
|
||||
std::function<rational (unsigned)> m_var2val;
|
||||
|
||||
public:
|
||||
|
||||
pdd_eval(pdd_manager& m): m(m) {}
|
||||
pdd_eval() {}
|
||||
|
||||
std::function<rational (unsigned)>& var2val() { return m_var2val; } // setter
|
||||
const std::function<rational (unsigned)>& var2val() const { return m_var2val; } // getter
|
||||
|
|
|
@ -25,13 +25,12 @@ typedef dep_intervals::interval interval;
|
|||
typedef dep_intervals::with_deps_t w_dep;
|
||||
// calculates the interval of a pdd expression based on the given intervals of the variables
|
||||
class pdd_interval {
|
||||
pdd_manager& m;
|
||||
dep_intervals m_dep_intervals;
|
||||
std::function<interval (unsigned, bool)> m_var2interval;
|
||||
|
||||
public:
|
||||
|
||||
pdd_interval(pdd_manager& m, reslimit& lim): m(m), m_dep_intervals(lim) {}
|
||||
pdd_interval(reslimit& lim): m_dep_intervals(lim) {}
|
||||
|
||||
std::function<interval (unsigned, bool)>& var2interval() { return m_var2interval; } // setter
|
||||
const std::function<interval (unsigned, bool)>& var2interval() const { return m_var2interval; } // getter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue