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;