From 1e4aeb8083f54c49e43708e715b6071c5df2813b Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Fri, 13 Feb 2004 14:56:04 +0000 Subject: [PATCH] Add some missing std:: git-svn-id: https://svn.dealii.org/trunk@8465 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/fe/fe_tools_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fe/fe_tools_test.cc b/tests/fe/fe_tools_test.cc index 61550ad44f..2f89a4ef15 100644 --- a/tests/fe/fe_tools_test.cc +++ b/tests/fe/fe_tools_test.cc @@ -36,7 +36,7 @@ #include #include -const double pi=acos(-1); +const double pi=std::acos(-1.); class TestFunction: public Function<2> { @@ -54,7 +54,7 @@ TestFunction::value(const Point<2> &p, const unsigned int component) const { Assert(component==0, ExcInternalError()); - return sin(pi*p(0))*cos(pi*p(1)); + return std::sin(pi*p(0))*std::cos(pi*p(1)); } -- 2.39.5