mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
with no last model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
dadda86bdc
commit
d14f00d61a
|
@ -260,7 +260,10 @@ namespace opt {
|
|||
m_models.set(i, m_last_model.get());
|
||||
|
||||
if (val > m_objective_values[i])
|
||||
m_objective_values[i] = val;
|
||||
m_objective_values[i] = val;
|
||||
|
||||
if (!m_last_model)
|
||||
return true;
|
||||
|
||||
//
|
||||
// retrieve value of objective from current model and update
|
||||
|
|
Loading…
Reference in a new issue