mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 20:38:43 +00:00
update restart next
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ec3915218d
commit
beb9d2e553
|
@ -232,7 +232,7 @@ namespace sat {
|
|||
m_reinit_next = m_config.m_reinit_base;
|
||||
|
||||
m_restart_count = 0;
|
||||
m_restart_next = m_config.m_restart_base*2;
|
||||
m_restart_next = m_config.m_restart_base;
|
||||
|
||||
m_min_sz = m_clauses.size();
|
||||
m_flips = 0;
|
||||
|
|
|
@ -275,7 +275,7 @@ namespace sls {
|
|||
void smt_plugin::sls_phase_to_smt() {
|
||||
if (!m_has_new_sls_phase)
|
||||
return;
|
||||
IF_VERBOSE(2, verbose_stream() << "SLS -> SMT phase " << m_min_unsat_size << "\n");
|
||||
IF_VERBOSE(2, verbose_stream() << "SLS -> SMT phase. unsat size: " << m_min_unsat_size << "\n");
|
||||
for (auto v : m_shared_bool_vars)
|
||||
ctx.force_phase(sat::literal(v, !m_sls_phase[v]));
|
||||
m_has_new_sls_phase = false;
|
||||
|
|
|
@ -243,7 +243,6 @@ namespace smt {
|
|||
verbose_stream() << "\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
for (auto const& cl : m_shared_clauses)
|
||||
if (all_of(cl, [this](sat::literal lit) { return ctx.get_assignment(lit) != l_true; }))
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue