aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Redux.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-02-19 23:30:41 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-02-19 23:30:41 +0100
commit1b7e12847d099ab6715c3ee99f068c9fd19858fc (patch)
treef07f6e3966772ff75152d3bc830fa0488f54e532 /Eigen/src/Core/Redux.h
parent0f4dd15dfc6e18e88cc55f561cf4ee2a772ab350 (diff)
Fix some calls to result_of on binary functors as unary ones.
Diffstat (limited to 'Eigen/src/Core/Redux.h')
-rw-r--r--Eigen/src/Core/Redux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Redux.h b/Eigen/src/Core/Redux.h
index 1a0a00481..f704fd07b 100644
--- a/Eigen/src/Core/Redux.h
+++ b/Eigen/src/Core/Redux.h
@@ -406,7 +406,7 @@ protected:
*/
template<typename Derived>
template<typename Func>
-EIGEN_STRONG_INLINE typename internal::result_of<Func(typename internal::traits<Derived>::Scalar)>::type
+EIGEN_STRONG_INLINE typename internal::result_of<Func(typename internal::traits<Derived>::Scalar,typename internal::traits<Derived>::Scalar)>::type
DenseBase<Derived>::redux(const Func& func) const
{
eigen_assert(this->rows()>0 && this->cols()>0 && "you are using an empty matrix");