From a59ec2df851c9b85ee5f2dde5971bd21cb76e319 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 17 Jul 2023 14:43:22 +0000 Subject: [PATCH] Fix typos --- src/Mod/Mesh/App/Core/CylinderFit.cpp | 4 ++-- src/Mod/Mesh/App/Core/SphereFit.cpp | 4 ++-- src/Mod/Path/App/ParamsHelper.h | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Mod/Mesh/App/Core/CylinderFit.cpp b/src/Mod/Mesh/App/Core/CylinderFit.cpp index 620afc73aa..0b77c78516 100644 --- a/src/Mod/Mesh/App/Core/CylinderFit.cpp +++ b/src/Mod/Mesh/App/Core/CylinderFit.cpp @@ -291,7 +291,7 @@ float CylinderFit::Fit() { ++_numIter; - // Set up the quasi parameteric normal equations + // Set up the quasi parametric normal equations setupNormalEquationMatrices(solDir, residuals, atpa, atpl); // Solve the equations for the unknown corrections @@ -448,7 +448,7 @@ void CylinderFit::setupNormalEquationMatrices(SolutionD solDir, const std::vecto setLowerPart(atpa); } -// Sets up contributions of given observation to the quasi parameteric +// Sets up contributions of given observation to the quasi parametric // normal equation matrices. Assumes uncorrelated coordinates. // point ... point // residual ... residual for this point computed from previous iteration (zero for first iteration) diff --git a/src/Mod/Mesh/App/Core/SphereFit.cpp b/src/Mod/Mesh/App/Core/SphereFit.cpp index 6e0cf04f80..da7875d844 100644 --- a/src/Mod/Mesh/App/Core/SphereFit.cpp +++ b/src/Mod/Mesh/App/Core/SphereFit.cpp @@ -207,7 +207,7 @@ float SphereFit::Fit() { ++_numIter; - // Set up the quasi parameteric normal equations + // Set up the quasi parametric normal equations setupNormalEquationMatrices(residuals, atpa, atpl); // Solve the equations for the unknown corrections @@ -271,7 +271,7 @@ void SphereFit::setupNormalEquationMatrices(const std::vector< Base::Vector3d > setLowerPart(atpa); } -// Sets up contributions of given observation to the quasi parameteric +// Sets up contributions of given observation to the quasi parametric // normal equation matrices. Assumes uncorrelated coordinates. // point ... point // residual ... residual for this point computed from previous iteration (zero for first iteration) diff --git a/src/Mod/Path/App/ParamsHelper.h b/src/Mod/Path/App/ParamsHelper.h index e5f5436a8b..df49eb5d03 100644 --- a/src/Mod/Path/App/ParamsHelper.h +++ b/src/Mod/Path/App/ParamsHelper.h @@ -48,7 +48,7 @@ * Extensive use of macros has one noticeable disadvantage, though. If some thing * goes wrong, the compiler error message is kind of cryptic. If so, first * double check your macro definition of the parameter is correctly, not missing - * or having extra parathesis or comma. Then, you can use the CMake + * or having extra parenthesis or comma. Then, you can use the CMake * intermediate file target to get the preprocessor output for checking. For * example, for a file located at \c src/Mod/Path/App/Area.cpp, * \code{.sh} @@ -89,7 +89,7 @@ * (a,b,c ...) * \endcode * - * This is why the parameter definition requires a double parathesis, as shown + * This is why the parameter definition requires a double parenthesis, as shown * in the following section. * * \section Library Overview @@ -427,8 +427,8 @@ * * This macro is used by #PARAM_ENUM_CONVERT to convert each parameter, but * you can use it directly for a single parameter. Check #PARAM_NUM_CONVERT - * for more detail. Make sure the outer parathesis of \c _param is stripped, - * i.e. not double but single parathesis + * for more detail. Make sure the outer parenthesis of \c _param is stripped, + * i.e. not double but single parenthesis */ #define PARAM_ENUM_CONVERT_SINGLE(_src,_dst,_default,_param) \ PARAM_FENUM_TYPE(_param) _dst(_param);\