Fix some calls to result_of on binary functors as unary ones.

This commit is contained in:
Gael Guennebaud
2015-02-19 23:30:41 +01:00
parent 0f4dd15dfc
commit 1b7e12847d
5 changed files with 5 additions and 5 deletions

View File

@@ -102,7 +102,7 @@ template<typename MatrixType,int _Direction> class Homogeneous
}
template<typename Func>
EIGEN_STRONG_INLINE typename internal::result_of<Func(Scalar)>::type
EIGEN_STRONG_INLINE typename internal::result_of<Func(Scalar,Scalar)>::type
redux(const Func& func) const
{
return func(m_matrix.redux(func), Scalar(1));