fix a coupe of warnings

This commit is contained in:
Gael Guennebaud
2010-01-05 10:15:29 +01:00
parent 71a171c267
commit 37851cfe11
4 changed files with 8 additions and 4 deletions

View File

@@ -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(); } \
}