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:
parent
c42f0d60e6
commit
86e22c1186
4 changed files with 14 additions and 4 deletions
|
@ -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 {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue