From fb43f4ed8e5cb73f8772abcff30b2b187dcd013f Mon Sep 17 00:00:00 2001 From: John Fletcher Date: Sat, 7 Mar 2015 08:48:22 +0000 Subject: [PATCH] patch for #11085 --- test/function/function_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/function/function_tests.cpp b/test/function/function_tests.cpp index 05c6d5a..6f979fa 100644 --- a/test/function/function_tests.cpp +++ b/test/function/function_tests.cpp @@ -85,7 +85,7 @@ struct pow_impl Arg1 operator()(Arg1 a, Arg2 b) const { - return pow(a, b); + return std::pow(a, b); } }; @@ -125,7 +125,7 @@ main() BOOST_TEST(sqr(arg1)(i5) == (i5*i5)); BOOST_TEST(fact(4)() == 24); BOOST_TEST(fact(arg1)(i5) == 120); - BOOST_TEST((int)power(arg1, arg2)(d5, d3) == (int)pow(d5, d3)); + BOOST_TEST((int)power(arg1, arg2)(d5, d3) == (int)std::pow(d5, d3)); BOOST_TEST((sqr(arg1) + 5)(i5) == ((i5*i5)+5)); BOOST_TEST(add(arg1, arg1, arg1, arg1)(i5) == (5+5+5+5));