aboutsummaryrefslogtreecommitdiff
path: root/src/main/solver/solver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/solver/solver.cpp')
-rw-r--r--src/main/solver/solver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/solver/solver.cpp b/src/main/solver/solver.cpp
index cd8652f..4059b5b 100644
--- a/src/main/solver/solver.cpp
+++ b/src/main/solver/solver.cpp
@@ -48,7 +48,7 @@ solver::node::node(const move m)
solver::sol_state solver::run(boost::optional<atomic<bool> &> terminate_solver) {
bool states_exhausted = false;
- while(!(/*state.is_solved() || */states_exhausted)) {
+ while(!(state.is_solved() || states_exhausted)) {
// If the terminate flag was supplied and has been set to true, return
if (terminate_solver && *terminate_solver) {
return sol_state::timed_out;
@@ -136,6 +136,7 @@ bool solver::revert_to_last_node_with_children(optional<lru_cache::item_list::it
if (current_node->mv.type != move::mtype::dominance) {
if (cache.get_states_removed_from_cache() == 0) {
+ LOG_DEBUG(state); // TODO
assert(cache.contains(state));
}
LOG_DEBUG("(undo move)");