Skip to content

Commit

Permalink
fix:shadowVariable
Browse files Browse the repository at this point in the history
Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
  • Loading branch information
kobayu858 committed Jul 10, 2024
1 parent 7dcdd67 commit 75004de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ bool SplineInterpolate::interpolate(
generateSpline(base_value);

// interpolate by spline with normalized index
for (int i = 0; i < static_cast<int>(normalized_idx.size()); ++i) {
return_value.push_back(getValue(normalized_idx[i]));
for (int j = 0; j < static_cast<int>(normalized_idx.size()); ++j) {
return_value.push_back(getValue(normalized_idx[j]));
}
return true;
}
Expand Down

0 comments on commit 75004de

Please sign in to comment.