3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00
This commit is contained in:
Nikolaj Bjorner 2020-05-07 10:47:46 -07:00
parent da9b037f2a
commit 6a61e8dd5b

View file

@ -305,7 +305,10 @@ namespace opt {
s.get_model(m_model); s.get_model(m_model);
s.get_labels(m_labels); s.get_labels(m_labels);
model_updated(m_model.get()); model_updated(m_model.get());
} if (!m_model) {
is_sat = l_undef;
}
}
if (is_sat != l_true) { if (is_sat != l_true) {
TRACE("opt", tout << m_hard_constraints << " " << asms << "\n";); TRACE("opt", tout << m_hard_constraints << " " << asms << "\n";);
if (!asms.empty()) { if (!asms.empty()) {