3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-05 21:53:23 +00:00
This commit is contained in:
Miguel Angelo Da Terra Neves 2017-10-23 12:51:19 -07:00
parent ee6cfb8eef
commit 63545c1e7b
2 changed files with 6 additions and 8 deletions

View file

@ -974,9 +974,9 @@ namespace sat {
void operator()() {
if (s.bce_enabled())
block_clauses();
if (s.m_cce)
if (s.cce_enabled())
cce();
if (s.m_bca)
if (s.bca_enabled())
bca();
}
@ -1176,7 +1176,7 @@ namespace sat {
is_tautology = add_cla(blocked);
}
while (m_covered_clause.size() > sz && !is_tautology);
if (s.m_acce && !is_tautology) {
if (s.acce_enabled() && !is_tautology) {
sz = m_covered_clause.size();
add_ala();
}
@ -1338,11 +1338,9 @@ namespace sat {
}
if (!found) {
IF_VERBOSE(100, verbose_stream() << "bca " << l << " " << l2 << "\n";);
watched w(l2, false);
w.set_blocked();
watched w(l2, true);
s.get_wlist(~l).push_back(w);
w = watched(l, false);
w.set_blocked();
w = watched(l, true);
s.get_wlist(~l2).push_back(w);
++s.m_num_bca;
}