From 06385a8358e251f80cff9e0835cea254b7b117aa Mon Sep 17 00:00:00 2001 From: kobayu858 Date: Mon, 16 Dec 2024 17:34:51 +0900 Subject: [PATCH] fix: bugprone-error Signed-off-by: kobayu858 --- perception/autoware_shape_estimation/lib/corrector/utils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/perception/autoware_shape_estimation/lib/corrector/utils.cpp b/perception/autoware_shape_estimation/lib/corrector/utils.cpp index 5e90c9d54f78a..5ed4f63bc8a4f 100644 --- a/perception/autoware_shape_estimation/lib/corrector/utils.cpp +++ b/perception/autoware_shape_estimation/lib/corrector/utils.cpp @@ -156,6 +156,7 @@ bool correctWithDefaultValue( return false; } } + // NOLINTBEGIN(bugprone-branch-clone) // fit width else if ( // NOLINT (param.min_width < (v_point.at(first_most_distant_index) * 2.0).norm() && @@ -208,6 +209,7 @@ bool correctWithDefaultValue( correction_vector.x(); } } + // NOLINTEND(bugprone-branch-clone) // fit length else if ( // NOLINT (param.min_length < (v_point.at(first_most_distant_index) * 2.0).norm() &&