Skip to content

Commit

Permalink
fix: bugprone-error
Browse files Browse the repository at this point in the history
Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 committed Dec 16, 2024
1 parent 86ba21f commit 06385a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions perception/autoware_shape_estimation/lib/corrector/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() &&
Expand Down Expand Up @@ -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() &&
Expand Down

0 comments on commit 06385a8

Please sign in to comment.