mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
fix bug in sls
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
16bffab8fd
commit
b82a68f4d4
6 changed files with 27 additions and 3 deletions
|
@ -387,8 +387,10 @@ namespace sat {
|
|||
m_best_value = val;
|
||||
m_best_model.reset();
|
||||
m_best_model.append(m_model);
|
||||
IF_VERBOSE(0, verbose_stream() << "new value: " << val << " @ " << i << "\n";);
|
||||
m_max_tries *= 2;
|
||||
IF_VERBOSE(1, verbose_stream() << "new value: " << val << " @ " << i << "\n";);
|
||||
if (i*2 > m_max_tries) {
|
||||
m_max_tries *= 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue