aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/array.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-07-04 11:49:03 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-07-04 11:49:03 +0200
commite61cee7a500d35e50f7ae9c5b05c4bd255948292 (patch)
tree30491f565483e380d2efffa7e00802d327771c9f /test/array.cpp
parent91b303901307b8bcebaea3211d26e13422121e78 (diff)
Fix compilation of some unit tests with msvc
Diffstat (limited to 'test/array.cpp')
-rw-r--r--test/array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/array.cpp b/test/array.cpp
index 7e41e9e20..6347c8067 100644
--- a/test/array.cpp
+++ b/test/array.cpp
@@ -117,7 +117,7 @@ template<typename ArrayType> void array(const ArrayType& m)
VERIFY_IS_APPROX((2*m1).pow(exponents), 4*m1.square());
VERIFY_IS_APPROX(Eigen::pow(m1,2*exponents), m1.square().square());
VERIFY_IS_APPROX(m1.pow(2*exponents), m1.square().square());
- VERIFY_IS_APPROX(pow(m1(0,0), exponents), ArrayType::Constant(rows,cols,m1(0,0)*m1(0,0)));
+ VERIFY_IS_APPROX(Eigen::pow(m1(0,0), exponents), ArrayType::Constant(rows,cols,m1(0,0)*m1(0,0)));
// Check possible conflicts with 1D ctor
typedef Array<Scalar, Dynamic, 1> OneDArrayType;