From cedf1f4c17aad15d6892d0ed315420076f178257 Mon Sep 17 00:00:00 2001 From: Kuan-Ting Date: Mon, 14 Jul 2025 14:18:00 +0800 Subject: [PATCH] Fix typo: duplicated 'for' in docs --- Eigen/src/Core/MathFunctionsImpl.h | 6 +++--- doc/QuickReference.dox | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Eigen/src/Core/MathFunctionsImpl.h b/Eigen/src/Core/MathFunctionsImpl.h index cf8dcc3b8..c4b5da3cc 100644 --- a/Eigen/src/Core/MathFunctionsImpl.h +++ b/Eigen/src/Core/MathFunctionsImpl.h @@ -28,7 +28,7 @@ namespace internal { 2. If a is zero, approx_a_recip must be infinite with the same sign as a. 3. If a is infinite, approx_a_recip must be zero with the same sign as a. - If the preconditions are satisfied, which they are for for the _*_rcp_ps + If the preconditions are satisfied, which they are for the _*_rcp_ps instructions on x86, the result has a maximum relative error of 2 ulps, and correctly handles reciprocals of zero, infinity, and NaN. */ @@ -66,7 +66,7 @@ struct generic_reciprocal_newton_step { 2. If a is zero, approx_a_recip must be infinite with the same sign as a. 3. If a is infinite, approx_a_recip must be zero with the same sign as a. - If the preconditions are satisfied, which they are for for the _*_rcp_ps + If the preconditions are satisfied, which they are for the _*_rcp_ps instructions on x86, the result has a maximum relative error of 2 ulps, and correctly handles zero, infinity, and NaN. Positive denormals are treated as zero. @@ -116,7 +116,7 @@ struct generic_rsqrt_newton_step { 2. If a is zero, approx_rsqrt must be infinite. 3. If a is infinite, approx_rsqrt must be zero. - If the preconditions are satisfied, which they are for for the _*_rsqrt_ps + If the preconditions are satisfied, which they are for the _*_rsqrt_ps instructions on x86, the result has a maximum relative error of 2 ulps, and correctly handles zero and infinity, and NaN. Positive denormal inputs are treated as zero. diff --git a/doc/QuickReference.dox b/doc/QuickReference.dox index c61d47afa..1fb000fdc 100644 --- a/doc/QuickReference.dox +++ b/doc/QuickReference.dox @@ -449,7 +449,7 @@ conj(array1) -Some coefficient-wise operators are readily available for for matrices and vectors through the following cwise* methods: +Some coefficient-wise operators are readily available for matrices and vectors through the following cwise* methods:
Matrix API \matrixworldVia Array conversions
\code