Skip to content

Commit

Permalink
fix: pre-commit
Browse files Browse the repository at this point in the history
Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp>
  • Loading branch information
taikitanaka3 committed Aug 3, 2022
1 parent 2a1625a commit db5c202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/had_map_utils/src/had_map_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ std::vector<lanelet::BasicPoint3d> resamplePoints(

// Calculate accumulated lengths
const auto accumulated_lengths = calculateAccumulatedLengths(line_string);
if(accumulated_lengths.size() < 2) return {};
if (accumulated_lengths.size() < 2) return {};

// Create each segment
std::vector<lanelet::BasicPoint3d> resampled_points;
Expand Down
2 changes: 1 addition & 1 deletion map/lanelet2_extension/lib/utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ std::vector<lanelet::BasicPoint3d> resamplePoints(

// Calculate accumulated lengths
const auto accumulated_lengths = calculateAccumulatedLengths(line_string);
if(accumulated_lengths.size() < 2) return {};
if (accumulated_lengths.size() < 2) return {};

// Create each segment
std::vector<lanelet::BasicPoint3d> resampled_points;
Expand Down

0 comments on commit db5c202

Please sign in to comment.