3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-01-06 14:07:54 -08:00
parent 592b1d7f65
commit 6a3fe514f0

View file

@ -202,7 +202,7 @@ namespace opt {
for (unsigned i = 0; i < obj_index; ++i)
commit_assignment(i);
bound = update_lower();
m_s->maximize_objective(obj_index, bound);
m_s->assert_expr(bound);
unsigned steps = 0;