3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-27 08:28:44 +00:00

fix bug introduced when clearing state between calls to Pareto/Box

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-04-02 02:36:01 -07:00
parent fc36d861a7
commit e944f89505
2 changed files with 12 additions and 4 deletions

View file

@ -131,7 +131,7 @@ namespace opt {
void push();
void pop();
void add(expr* hard);
void set(ptr_vector<expr> & hard);
bool set(ptr_vector<expr> & hard);
unsigned add(expr* soft, rational const& weight, symbol const& id);
unsigned add(app* obj, bool is_max);
};