diff options
Diffstat (limited to 'Eigen/src/Array')
-rw-r--r-- | Eigen/src/Array/VectorwiseOp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Array/VectorwiseOp.h b/Eigen/src/Array/VectorwiseOp.h index c0944fc42..3aaaa1ec9 100644 --- a/Eigen/src/Array/VectorwiseOp.h +++ b/Eigen/src/Array/VectorwiseOp.h @@ -118,8 +118,8 @@ class PartialReduxExpr : ei_no_assignment_operator, typedef ResultType result_type; \ template<typename Scalar, int Size> struct Cost \ { enum { value = COST }; }; \ - template<typename Derived> \ - inline ResultType operator()(const DenseBase<Derived>& mat) const \ + template<typename XprType> \ + inline ResultType operator()(const XprType& mat) const \ { return mat.MEMBER(); } \ } |