From a76fbbf39777827200455477a9e3557b6063913f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 6 Nov 2012 15:25:50 +0100 Subject: Fix bug #314: - remove most of the metaprogramming kung fu in MathFunctions.h (only keep functions that differs from the std) - remove the overloads for array expression that were in the std namespace --- test/meta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/meta.cpp') diff --git a/test/meta.cpp b/test/meta.cpp index dc1d128d5..0ba968ba9 100644 --- a/test/meta.cpp +++ b/test/meta.cpp @@ -56,7 +56,7 @@ void test_meta() VERIFY(( internal::is_same::type >::value)); VERIFY(internal::meta_sqrt<1>::ret == 1); - #define VERIFY_META_SQRT(X) VERIFY(internal::meta_sqrt::ret == int(internal::sqrt(double(X)))) + #define VERIFY_META_SQRT(X) VERIFY(internal::meta_sqrt::ret == int(std::sqrt(double(X)))) VERIFY_META_SQRT(2); VERIFY_META_SQRT(3); VERIFY_META_SQRT(4); -- cgit v1.2.3