diff options
author | 2015-02-19 21:23:37 -0800 | |
---|---|---|
committer | 2015-02-19 21:23:37 -0800 | |
commit | ab41652d813b5d83715a92183da4bbfce5779473 (patch) | |
tree | 8a4f8ae4f43f077516a060f313cfaa04709818d0 /Eigen/src/Core/VectorwiseOp.h | |
parent | 7765039f1cc7b9c78b26b9d7c807df2eddcf829f (diff) | |
parent | a66f5fc2fd5ae26eeecb327e4bde9aeaa0edfced (diff) |
Pulled latest changes from trunk
Diffstat (limited to 'Eigen/src/Core/VectorwiseOp.h')
-rw-r--r-- | Eigen/src/Core/VectorwiseOp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/VectorwiseOp.h b/Eigen/src/Core/VectorwiseOp.h index b3dc0c224..a15777a5e 100644 --- a/Eigen/src/Core/VectorwiseOp.h +++ b/Eigen/src/Core/VectorwiseOp.h @@ -124,7 +124,7 @@ EIGEN_MEMBER_FUNCTOR(prod, (Size-1)*NumTraits<Scalar>::MulCost); template <typename BinaryOp, typename Scalar> struct member_redux { typedef typename result_of< - BinaryOp(Scalar) + BinaryOp(Scalar,Scalar) >::type result_type; template<typename _Scalar, int Size> struct Cost { enum { value = (Size-1) * functor_traits<BinaryOp>::Cost }; }; |