From 5077bd3db2a38018c428a5d06f98b7debe033400 Mon Sep 17 00:00:00 2001 From: mhubii Date: Thu, 7 Dec 2023 13:59:39 +0000 Subject: [PATCH] fixed typo --- lbr_fri_ros2/include/lbr_fri_ros2/pinv.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbr_fri_ros2/include/lbr_fri_ros2/pinv.hpp b/lbr_fri_ros2/include/lbr_fri_ros2/pinv.hpp index d7e57aad..165ad9cf 100644 --- a/lbr_fri_ros2/include/lbr_fri_ros2/pinv.hpp +++ b/lbr_fri_ros2/include/lbr_fri_ros2/pinv.hpp @@ -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; });