3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

fix a bug in the recursion in cross_nested

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-07-19 15:15:46 -07:00
parent cef9726f00
commit d5708b184a
6 changed files with 122 additions and 162 deletions

View file

@ -41,8 +41,10 @@ public:
intervals::interval interval_of_expr(const nex& e);
nex nexvar(lpvar j) const;
intervals::interval interval_of_sum(const std::vector<nex>&);
intervals::interval interval_of_mul(const std::vector<nex>&);
template <typename V> // V is a vector of expressions
intervals::interval interval_of_sum(const V&);
template <typename V> // V is a vector of expressions
intervals::interval interval_of_mul(const V&);
void set_interval_for_scalar(intervals::interval&, const rational&);
void set_var_interval(lpvar j, intervals::interval&);
std::set<lpvar> get_vars_of_expr(const nex &) const;