Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Dec 7, 2023
1 parent 1fd3dce commit 5077bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbr_fri_ros2/include/lbr_fri_ros2/pinv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pinv(const MatT &mat,
mat.cols(), mat.rows());
dampedSingularValuesInv.setZero();
std::for_each(singularValues.data(), singularValues.data() + singularValues.size(),
[&, i = 0](Scalar &s)[mutable] {
[&, i = 0](Scalar &s) mutable {
dampedSingularValuesInv(i, i) = s / (s * s + lambda * lambda);
++i;
});
Expand Down

0 comments on commit 5077bd3

Please sign in to comment.