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:
parent
0481adb87c
commit
63840806d8
5 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue