Skip to content

Commit 8534af7

Browse files
feat: enhance solver to log consistency status when no flaws remain
1 parent 7a353b9 commit 8534af7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/solver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ impl SolverState {
8181
}
8282
self.graph.borrow_mut().set_current_flaw(None);
8383
} else {
84-
break;
84+
trace!("Hurray! No more flaws to resolve. Problem is consistent.");
85+
return true;
8586
};
8687
}
87-
true
8888
}
8989
}
9090

0 commit comments

Comments
 (0)