aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Redux.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-06-02 15:29:59 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-06-02 15:29:59 +0200
commit8b6f53222b84d1e4f0f1e86b1d321777b58a28dc (patch)
tree50933630ccc644d70f20dadc0cc2c1525d057e0a /Eigen/src/Core/Redux.h
parentd616a81294175d1266c8a6af198243a6befc8cc6 (diff)
bug #1193: fix lpNorm<Infinity> for empty input.
Diffstat (limited to 'Eigen/src/Core/Redux.h')
-rw-r--r--Eigen/src/Core/Redux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Core/Redux.h b/Eigen/src/Core/Redux.h
index 3a47edf79..7984cd6e1 100644
--- a/Eigen/src/Core/Redux.h
+++ b/Eigen/src/Core/Redux.h
@@ -438,7 +438,9 @@ DenseBase<Derived>::maxCoeff() const
return derived().redux(Eigen::internal::scalar_max_op<Scalar>());
}
-/** \returns the sum of all coefficients of *this
+/** \returns the sum of all coefficients of \c *this
+ *
+ * If \c *this is empty, then the value 0 is returned.
*
* \sa trace(), prod(), mean()
*/