3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 20:38:43 +00:00

fix debug build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-10-16 09:05:25 -07:00
parent 00a401260e
commit d9ccb3928e
3 changed files with 3 additions and 5 deletions

View file

@ -166,8 +166,6 @@ namespace sat {
bdd mk_and(bdd const& a, bdd const& b);
bdd mk_or(bdd const& a, bdd const& b);
std::ostream& display(std::ostream& out, bdd const& b);
public:
struct mem_out {};
@ -190,6 +188,7 @@ namespace sat {
bdd mk_ite(bdd const& c, bdd const& t, bdd const& e);
std::ostream& display(std::ostream& out);
std::ostream& display(std::ostream& out, bdd const& b);
};
class bdd {

View file

@ -121,7 +121,6 @@ namespace sat{
bdd b = m.mk_exists(m_var2index[v], b0);
TRACE("elim_vars",
tout << "eliminate " << v << "\n";
tout << "clauses : " << clause_size << "\n";
for (watched const& w : simp.get_wlist(~pos_l)) {
if (w.is_binary_non_learned_clause()) {
tout << pos_l << " " << w.get_literal() << "\n";
@ -150,7 +149,7 @@ namespace sat{
m.display(tout, b4);
tout << "eliminated:\n";
tout << b << "\n";
tout << m.cnf_size(b) << "\n";
tout << b.cnf_size() << "\n";
);
return b;

View file

@ -1150,8 +1150,8 @@ namespace sat {
void block_binary(watch_list::iterator it, literal l, model_converter::entry *& new_entry) {
if (new_entry == 0)
new_entry = &(mc.mk(model_converter::BLOCK_LIT, l.var()));
TRACE("blocked_clause", tout << "new blocked clause: " << l2 << " " << l << "\n";);
literal l2 = it->get_literal();
TRACE("blocked_clause", tout << "new blocked clause: " << l2 << " " << l << "\n";);
s.remove_bin_clause_half(l2, l, it->is_learned());
m_queue.decreased(~l2);
mc.insert(*new_entry, l, l2);