Skip to content

Commit

Permalink
fix minor proiblem
Browse files Browse the repository at this point in the history
  • Loading branch information
stevedanomodolor committed Feb 27, 2024
1 parent 37221f4 commit 7b3f600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_smac_planner/src/a_star.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ bool AStarAlgorithm<NodeT>::areInputsValid()
}

// Check if points were filled in
if (!_start || !_goals.empty()) {
if (!_start || _goals.empty()) {
throw std::runtime_error("Failed to compute path, no valid start or goal given.");
}

Expand Down

0 comments on commit 7b3f600

Please sign in to comment.