Skip to content

Commit

Permalink
include debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Feb 5, 2024
1 parent f4eaa6f commit c40e72a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/nlsat/nlsat_interval_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,8 @@ namespace nlsat {
continue;
m_already_visited.setx(lidx, true, false);
js.push_back(l);
if (s->m_intervals[i].m_clause) {
if (s->m_intervals[i].m_clause)
clauses.push_back(const_cast<clause*>(s->m_intervals[i].m_clause));
}
}
for (unsigned i = 0; i < num; i++) {
literal l = s->m_intervals[i].m_justification;
Expand Down
6 changes: 4 additions & 2 deletions src/nlsat/nlsat_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ namespace nlsat {
if (include_l)
core.push_back(~l);
auto j = mk_lazy_jst(m_allocator, core.size(), core.data(), clauses.size(), clauses.data());
TRACE("nlsat_resolve", display(tout, j); display_eval(tout, j));
TRACE("nlsat_resolve", display(tout, j); display_eval(tout << "evaluated:", j));
assign(l, j);
SASSERT(value(l) == l_true);
}
Expand Down Expand Up @@ -1384,7 +1384,9 @@ namespace nlsat {
tmp = m_ism.mk_union(curr_set, xk_set);
if (m_ism.is_full(tmp)) {
TRACE("nlsat_inf_set", tout << "infeasible set + current set = R, skip literal\n";
display(tout, cls) << "\n";);
display(tout, cls) << "\n";
m_ism.display(tout, tmp); tout << "\n";
);
R_propagate(~l, tmp, false);
continue;
}
Expand Down

0 comments on commit c40e72a

Please sign in to comment.