Skip to content

Commit

Permalink
Add cost increase terminator back
Browse files Browse the repository at this point in the history
  • Loading branch information
Yey007 committed Dec 6, 2024
1 parent 0ed0636 commit 01ec871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icp/icp_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace icp {

double delta_cost = current_state.cost - last_state.value().cost;
if (delta_cost > 0) {
// return true;
return true;
}

if (absolute_cost_tolerance_ && std::abs(delta_cost) < absolute_cost_tolerance_.value()) {
Expand Down

0 comments on commit 01ec871

Please sign in to comment.