Skip to content

Commit

Permalink
chore(solver): Display learned clause in logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
arbimo committed Nov 12, 2024
1 parent 82a2ddb commit 4219235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solver/src/solver/solver_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,10 +788,10 @@ impl<Lbl: Label> Solver<Lbl> {
Ok(()) => return true,
Err(conflict) => {
log_dec!(
" CONFLICT {:?} (size: {}) ",
" CONFLICT {:?} (size: {}) > {}",
self.decision_level,
conflict.clause.len(),
// conflict.literals().iter().map(|l| self.model.fmt(*l)).format(", ")
conflict.literals().iter().map(|l| self.model.fmt(*l)).format(" | ")
);
self.sync.notify_learnt(&conflict.clause);
if self.add_conflicting_clause_and_backtrack(conflict) {
Expand Down

0 comments on commit 4219235

Please sign in to comment.