aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Array/VectorwiseOp.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-01-05 10:15:29 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-01-05 10:15:29 +0100
commit37851cfe11693a84636b350f5c9fb0ccf993e838 (patch)
tree937a04f18ea6b6e9280562b2c5cad8d4ae9be85a /Eigen/src/Array/VectorwiseOp.h
parent71a171c267df54118cda01d845d42f3d3d465de3 (diff)
fix a coupe of warnings
Diffstat (limited to 'Eigen/src/Array/VectorwiseOp.h')
-rw-r--r--Eigen/src/Array/VectorwiseOp.h4
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(); } \
}