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 2019-01-18 18:09:19 -08:00
parent f2e636c598
commit 0b7021d2c8

View file

@ -1636,7 +1636,10 @@ namespace opt {
}
// TBD: check that optimal was not changed.
}
TRACE("opt", tout << "value " << value << "\n";);
maxsmt& ms = *m_maxsmts.find(obj.m_id);
rational value0 = ms.get_lower();
TRACE("opt", tout << "value " << value << " other " << value0 << "\n";);
SASSERT(value0 == value);
break;
}
}