Skip to content

Commit

Permalink
Update planning/autoware_path_generator/src/utils.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp>

Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
  • Loading branch information
sasakisasaki and kosuke55 authored Feb 28, 2025
1 parent 17054c9 commit 5a2766e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/autoware_path_generator/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ lanelet::ConstLanelets extract_lanelets_from_path(
const auto & path_point = refined_path.points.at(i);
int64_t lane_id = path_point.lane_ids.at(0);
lanelet::ConstLanelet lanelet = planner_data->lanelet_map_ptr->laneletLayer.get(lane_id);
bool is_unique =
const bool is_unique =
std::find(refined_path_lanelets.begin(), refined_path_lanelets.end(), lanelet) ==
refined_path_lanelets.end();
if (is_unique) {
Expand Down

0 comments on commit 5a2766e

Please sign in to comment.