From f5774b014ea419ca8d3e0c38179505fca972024b Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen <4643818-rmlarsen1@users.noreply.gitlab.com> Date: Sat, 21 Mar 2026 18:48:07 -0700 Subject: [PATCH] Fix Doxygen build failure for comparison operator links libeigen/eigen!2339 Co-authored-by: Rasmus Munk Larsen --- doc/CoeffwiseMathFunctionsTable.dox | 24 ++++++++++++------------ doc/Doxyfile.in | 2 -- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/doc/CoeffwiseMathFunctionsTable.dox b/doc/CoeffwiseMathFunctionsTable.dox index 53e3e18b1..ae4053360 100644 --- a/doc/CoeffwiseMathFunctionsTable.dox +++ b/doc/CoeffwiseMathFunctionsTable.dox @@ -474,8 +474,8 @@ This also means that, unless specified, if the function \c std::foo is available \anchor cwisetable_less - a \link ArrayBase::operator< operator< \endlink(b); \n - a \link ArrayBase::operator< operator< \endlink(s); + a.\c operator<(b); \n + a.\c operator<(s); coefficient-wise less than comparison (\f$ a_i \lt b_i \f$). \n \c a and \c b can be either an array or scalar. @@ -487,8 +487,8 @@ This also means that, unless specified, if the function \c std::foo is available \anchor cwisetable_less_equal - a \link ArrayBase::operator<= operator<= \endlink(b); \n - a \link ArrayBase::operator<= operator<= \endlink(s); + a.\c operator<=(b); \n + a.\c operator<=(s); coefficient-wise less than or equal comparison (\f$ a_i \le b_i \f$). \n \c a and \c b can be either an array or scalar. @@ -500,8 +500,8 @@ This also means that, unless specified, if the function \c std::foo is available \anchor cwisetable_greater - a \link ArrayBase::operator> operator> \endlink(b); \n - a \link ArrayBase::operator> operator> \endlink(s); + a.\c operator>(b); \n + a.\c operator>(s); coefficient-wise greater than comparison (\f$ a_i \gt b_i \f$). \n \c a and \c b can be either an array or scalar. @@ -513,8 +513,8 @@ This also means that, unless specified, if the function \c std::foo is available \anchor cwisetable_greater_equal - a \link ArrayBase::operator>= operator>= \endlink(b); \n - a \link ArrayBase::operator>= operator>= \endlink(s); + a.\c operator>=(b); \n + a.\c operator>=(s); coefficient-wise greater than or equal comparison (\f$ a_i \ge b_i \f$). \n \c a and \c b can be either an array or scalar. @@ -526,8 +526,8 @@ This also means that, unless specified, if the function \c std::foo is available \anchor cwisetable_equal - a \link ArrayBase::operator== operator== \endlink(b); \n - a \link ArrayBase::operator== operator== \endlink(s); + a.\c operator==(b); \n + a.\c operator==(s); coefficient-wise equality comparison (\f$ a_i = b_i \f$). \n \c a and \c b can be either an array or scalar. \n @@ -540,8 +540,8 @@ This also means that, unless specified, if the function \c std::foo is available \anchor cwisetable_not_equal - a \link ArrayBase::operator!= operator!= \endlink(b); \n - a \link ArrayBase::operator!= operator!= \endlink(s); + a.\c operator!=(b); \n + a.\c operator!=(s); coefficient-wise not-equal comparison (\f$ a_i \ne b_i \f$). \n \c a and \c b can be either an array or scalar. \n diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 367f70707..445fc0a6f 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -128,8 +128,6 @@ PREDEFINED = EIGEN_EMPTY_STRUCT \ EIGEN_STRONG_INLINE=inline \ EIGEN_DEVICE_FUNC= \ "EIGEN_MAKE_CWISE_BINARY_OP(METHOD,FUNCTOR)=template const CwiseBinaryOp, const Derived, const OtherDerived> METHOD(const EIGEN_CURRENT_STORAGE_BASE_CLASS &other) const;" \ - "EIGEN_MAKE_CWISE_COMP_OP(OP,COMPARATOR)=template const CwiseBinaryOp, const Derived, const OtherDerived> OP(const EIGEN_CURRENT_STORAGE_BASE_CLASS &other) const;" \ - "EIGEN_MAKE_CWISE_COMP_R_OP(OP,R_OP,RCOMPARATOR)=template const CwiseBinaryOp, const OtherDerived, const Derived> OP(const EIGEN_CURRENT_STORAGE_BASE_CLASS &other) const;" \ "EIGEN_CWISE_PRODUCT_RETURN_TYPE(LHS,RHS)=CwiseBinaryOp, const LHS, const RHS>" \ "EIGEN_CAT2(a,b)= a ## b" \ "EIGEN_CAT(a,b)=EIGEN_CAT2(a,b)" \