Skip to content

Commit

Permalink
Prettify unrelated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensBuechner committed Jan 16, 2024
1 parent ffb2908 commit e76341a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/search/search_algorithms/iterated_search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ shared_ptr<SearchAlgorithm> IteratedSearch::create_current_phase() {
this overrides continue_on_fail.
*/
if (repeat_last_phase && last_phase_found_solution) {
return get_search_algorithm(
algorithm_configs.size() -
1);
return get_search_algorithm(algorithm_configs.size() - 1);
} else {
return nullptr;
}
Expand Down

0 comments on commit e76341a

Please sign in to comment.