aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
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 /test
parent0f4dd15dfc6e18e88cc55f561cf4ee2a772ab350 (diff)
Fix some calls to result_of on binary functors as unary ones.
Diffstat (limited to 'test')
-rw-r--r--test/array.cpp2
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));