From db5c20239b13e11f55f82647a188564b306eb322 Mon Sep 17 00:00:00 2001 From: taikitanaka3 Date: Wed, 3 Aug 2022 20:50:07 +0900 Subject: [PATCH] fix: pre-commit Signed-off-by: taikitanaka3 --- common/had_map_utils/src/had_map_utils.cpp | 2 +- map/lanelet2_extension/lib/utilities.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/had_map_utils/src/had_map_utils.cpp b/common/had_map_utils/src/had_map_utils.cpp index a409021243ab9..81f9517f6a8d2 100644 --- a/common/had_map_utils/src/had_map_utils.cpp +++ b/common/had_map_utils/src/had_map_utils.cpp @@ -101,7 +101,7 @@ std::vector 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 resampled_points; diff --git a/map/lanelet2_extension/lib/utilities.cpp b/map/lanelet2_extension/lib/utilities.cpp index a1f0bac0631f3..4af74f0120a55 100644 --- a/map/lanelet2_extension/lib/utilities.cpp +++ b/map/lanelet2_extension/lib/utilities.cpp @@ -148,7 +148,7 @@ std::vector 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 resampled_points;