From f3912f60b98a38cf60f8301dc082ffde8fcd4470 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 9 Oct 2017 07:05:57 -0400 Subject: [PATCH] upstream orocos_kinematics_dynamics typos These are downstream fixes that I submitted upstream . They were merged in https://github.com/orocos/orocos_kinematics_dynamics/commit/35aeab5f8e39ce0d490750d1aa6015b9e8bbcf1b [skip ci] --- .../Robot/App/kdl_cp/utilities/svd_eigen_Macie.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mod/Robot/App/kdl_cp/utilities/svd_eigen_Macie.hpp b/src/Mod/Robot/App/kdl_cp/utilities/svd_eigen_Macie.hpp index 0b82407905..ef2dbd4d99 100644 --- a/src/Mod/Robot/App/kdl_cp/utilities/svd_eigen_Macie.hpp +++ b/src/Mod/Robot/App/kdl_cp/utilities/svd_eigen_Macie.hpp @@ -52,13 +52,13 @@ namespace KDL * \param V [INPUT/OUTPUT] is an \f$n \times n\f$ orthonormal matrix. * \param B [TEMPORARY] is an \f$m \times n\f$ matrix used for temporary storage. * \param tempi [TEMPORARY] is an \f$m\f$ vector used for temporary storage. - * \param thresshold [INPUT] Thresshold to determine orthogonality. + * \param threshold [INPUT] Threshold to determine orthogonality. * \param toggle [INPUT] toggle this boolean variable on each call of this routine. * \return number of sweeps. */ int svd_eigen_Macie(const MatrixXd& A,MatrixXd& U,VectorXd& S, MatrixXd& V, MatrixXd& B, VectorXd& tempi, - double treshold,bool toggle) + double threshold,bool toggle) { bool rotate = true; unsigned int sweeps=0; @@ -79,8 +79,8 @@ namespace KDL double q=qi-qj; double alpha = pow(p,2.0)/(qi*qj); //if columns are orthogonal with precision - //treshold, don't perform rotation and continue - if(alpha