diff options
author | 2015-02-19 23:30:41 +0100 | |
---|---|---|
committer | 2015-02-19 23:30:41 +0100 | |
commit | 1b7e12847d099ab6715c3ee99f068c9fd19858fc (patch) | |
tree | f07f6e3966772ff75152d3bc830fa0488f54e532 /test | |
parent | 0f4dd15dfc6e18e88cc55f561cf4ee2a772ab350 (diff) |
Fix some calls to result_of on binary functors as unary ones.
Diffstat (limited to 'test')
-rw-r--r-- | test/array.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/array.cpp b/test/array.cpp index ac9be097d..ad0182e10 100644 --- a/test/array.cpp +++ b/test/array.cpp @@ -331,7 +331,7 @@ void test_array() VERIFY((internal::is_same< internal::global_math_functions_filtering_base<int>::type, int >::value)); VERIFY((internal::is_same< internal::global_math_functions_filtering_base<float>::type, float >::value)); VERIFY((internal::is_same< internal::global_math_functions_filtering_base<Array2i>::type, ArrayBase<Array2i> >::value)); - typedef CwiseUnaryOp<internal::scalar_sum_op<double>, ArrayXd > Xpr; + typedef CwiseUnaryOp<internal::scalar_multiple_op<double>, ArrayXd > Xpr; VERIFY((internal::is_same< internal::global_math_functions_filtering_base<Xpr>::type, ArrayBase<Xpr> >::value)); |