3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

fix #2546, retrieve model in optsmt lex before iterating

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-09-10 11:19:59 +02:00
parent 0481adb87c
commit 63840806d8
5 changed files with 6 additions and 1 deletions

View file

@ -181,6 +181,7 @@ namespace opt {
for (unsigned i = 0; i < obj_index; ++i) {
commit_assignment(i);
}
m_s->get_model(m_model);
unsigned steps = 0;
unsigned step_incs = 0;