Deprecate boolean sum operator (bug #426)

This commit is contained in:
Christoph Hertzberg 2013-08-13 14:54:09 +02:00
parent ace2ed7b87
commit 1d89554f1b

View File

@ -39,6 +39,13 @@ struct functor_traits<scalar_sum_op<Scalar> > {
};
};
template<> struct scalar_sum_op<bool> : scalar_sum_op<int> {
EIGEN_DEPRECATED
scalar_sum_op() {}
};
/** \internal
* \brief Template functor to compute the product of two scalars
*