3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-27 08:28:44 +00:00

fix build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-05-01 09:46:54 -07:00
parent e4d24fd2c3
commit 3de2feb84a
5 changed files with 9 additions and 13 deletions

View file

@ -41,6 +41,7 @@ namespace sat {
}
lookahead::scoped_assumptions::~scoped_assumptions() {
for (auto l : lits) {
(void)l;
p.pop();
}
}
@ -2070,7 +2071,7 @@ namespace sat {
scoped_level _sl(*this, c_fixed_truth);
m_search_mode = lookahead_mode::searching;
unsigned depth = 0;
unsigned init_trail = m_trail.size();
// unsigned init_trail = m_trail.size();
m_cube_state.reset_stats();
if (!is_first) {
@ -2184,8 +2185,6 @@ namespace sat {
}
std::ostream& lookahead::display_clauses(std::ostream& out) const {
bool first = true;
for (unsigned idx = 0; idx < m_ternary.size(); ++idx) {
literal lit = to_literal(idx);
unsigned sz = m_ternary_count[idx];
@ -2268,7 +2267,7 @@ namespace sat {
init(learned);
if (inconsistent()) return;
inc_istamp();
literal l = choose();
choose();
if (inconsistent()) return;
SASSERT(m_trail_lim.empty());
unsigned num_units = 0;