From 743ef48ba8d69f12491549aec4baef17c196e2b2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 11:27:01 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../ground_segmentation/src/ray_ground_filter_nodelet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp b/perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp index 3add6f2203c5b..c58f1c0e507e5 100644 --- a/perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp +++ b/perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp @@ -280,8 +280,7 @@ void RayGroundFilterComponent::ExtractPointsIndices( size_t no_ground_count = 0; std::vector is_ground_idx(in_cloud_ptr->width, false); for (const auto & idx : in_indices.indices) { - if(std::size_t(idx) >= is_ground_idx.size()) - { + if (std::size_t(idx) >= is_ground_idx.size()) { continue; } is_ground_idx[idx] = true;