From 284dcc122b776eff0fc1468bcd095112d1d609de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20S=C3=A1nchez?= Date: Mon, 3 Nov 2025 18:54:35 +0000 Subject: [PATCH] Fix doc references for nullary expressions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Description Fix doc references for nullary expressions. ### Reference issue Fixes #2997. ### Additional information Closes #2997 See merge request libeigen/eigen!2054 (cherry picked from commit 04eb06b35435ab9e740eacdd08a7a101dd9c8237) 31a2702e Fix doc references for nullary expressions. Co-authored-by: Antonio Sánchez --- Eigen/src/Core/CwiseNullaryOp.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Eigen/src/Core/CwiseNullaryOp.h b/Eigen/src/Core/CwiseNullaryOp.h index e4c5fedc3..084f503f2 100644 --- a/Eigen/src/Core/CwiseNullaryOp.h +++ b/Eigen/src/Core/CwiseNullaryOp.h @@ -94,7 +94,7 @@ class CwiseNullaryOp : public internal::dense_xpr_base::Constant(Index rows, Index cols, const Scalar& value) { * \only_for_vectors * * This variant is meant to be used for dynamic-size vector types. For fixed-size types, - * it is redundant to pass \a size as argument, so Zero() should be used + * it is redundant to pass \a size as argument, so Constant(const Scalar&) should be used * instead. * * The template parameter \a CustomNullaryOp is the type of the functor.