mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Deprecate boolean sum operator (bug #426)
This commit is contained in:
parent
ace2ed7b87
commit
1d89554f1b
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user