3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

add validation option

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-11-18 09:44:20 -08:00
parent c42f0d60e6
commit 86e22c1186
4 changed files with 14 additions and 4 deletions

View file

@ -70,8 +70,8 @@ namespace opt {
lbool is_sat = l_true;
map_t::iterator it = m_maxsmts.begin(), end = m_maxsmts.end();
for (; is_sat == l_true && it != end; ++it) {
maxsmt* ms = it->m_value;
is_sat = (*ms)(s);
maxsmt& ms = *it->m_value;
is_sat = ms(s);
}
if (is_sat == l_true) {
is_sat = m_optsmt(s);
@ -160,5 +160,4 @@ namespace opt {
}
}
}