Skip to content

Commit

Permalink
Exit with 0 when complete search space has been dumped.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed May 10, 2024
1 parent 6a79ebe commit d3810f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search/search_algorithms/exhaustive_search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void ExhaustiveSearch::dump_state(const State &state) const {
SearchStatus ExhaustiveSearch::step() {
if (current_state_id == static_cast<int>(state_registry.size())) {
utils::g_log << "Finished dumping the reachable state space." << endl;
return FAILED;
return SOLVED;
}

State s = state_registry.lookup_state(StateID(current_state_id));
Expand Down

0 comments on commit d3810f6

Please sign in to comment.