3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 14:13:23 +00:00

fix bugs related to reading configuration flags

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-10-24 09:59:23 -07:00
parent ee6cfb8eef
commit f6ee6894c7

View file

@ -974,9 +974,9 @@ namespace sat {
void operator()() { void operator()() {
if (s.bce_enabled()) if (s.bce_enabled())
block_clauses(); block_clauses();
if (s.m_cce) if (s.cce_enabled())
cce(); cce();
if (s.m_bca) if (s.bca_enabled())
bca(); bca();
} }
@ -1176,7 +1176,7 @@ namespace sat {
is_tautology = add_cla(blocked); is_tautology = add_cla(blocked);
} }
while (m_covered_clause.size() > sz && !is_tautology); 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(); sz = m_covered_clause.size();
add_ala(); add_ala();
} }