diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2013-08-16 16:43:02 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2013-08-16 16:43:02 +0200 |
commit | e0dbc2913a4f176876ea56f247409ff340c5f1d3 (patch) | |
tree | c8f94cbd0c96477a75ce1fda000806de5247b210 /Eigen | |
parent | 1d89554f1b6bb0f6f9e16282cf0b3cd6fdccfb65 (diff) |
Documentation of deprecated struct. Closing bug #426.
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/Functors.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Eigen/src/Core/Functors.h b/Eigen/src/Core/Functors.h index 080338617..69d95ea30 100644 --- a/Eigen/src/Core/Functors.h +++ b/Eigen/src/Core/Functors.h @@ -19,7 +19,7 @@ namespace internal { /** \internal * \brief Template functor to compute the sum of two scalars * - * \sa class CwiseBinaryOp, MatrixBase::operator+, class VectorwiseOp, MatrixBase::sum() + * \sa class CwiseBinaryOp, MatrixBase::operator+, class VectorwiseOp, DenseBase::sum() */ template<typename Scalar> struct scalar_sum_op { EIGEN_EMPTY_STRUCT_CTOR(scalar_sum_op) @@ -39,7 +39,11 @@ struct functor_traits<scalar_sum_op<Scalar> > { }; }; - +/** \internal + * \brief Template specialization to deprecate the summation of boolean expressions. + * This is required to solve Bug 426. + * \sa DenseBase::count(), DenseBase::any(), ArrayBase::cast(), MatrixBase::cast() + */ template<> struct scalar_sum_op<bool> : scalar_sum_op<int> { EIGEN_DEPRECATED scalar_sum_op() {} |