Skip to content

Commit

Permalink
fix(autoware_shape_estimation): fix bugprone-branch-clone (#9659)
Browse files Browse the repository at this point in the history
* fix: bugprone-error

Signed-off-by: kobayu858 <[email protected]>

* fix: fmt

Signed-off-by: kobayu858 <[email protected]>

* fix: pre-commit

Signed-off-by: kobayu858 <[email protected]>

* fix: pre-commit

Signed-off-by: kobayu858 <[email protected]>

---------

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Dec 17, 2024
1 parent a98bb83 commit 91bfe5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ bool correctWithDefaultValue(
(param.min_width < (v_point.at(second_most_distant_index) * 2.0).norm() &&
(v_point.at(second_most_distant_index) * 2.0).norm() <
param.max_width)) // both of edge is within width threshold
{
{ // NOLINT
correction_vector = v_point.at(first_most_distant_index);
if (correction_vector.x() == 0.0) {
correction_vector.y() =
Expand Down

0 comments on commit 91bfe5c

Please sign in to comment.