From f4c1bb0b29df021a4dccf6c6aaa4c8e9f91b1ad7 Mon Sep 17 00:00:00 2001 From: hartmann Date: Mon, 23 Feb 2004 12:49:52 +0000 Subject: [PATCH] Add some missing std. git-svn-id: https://svn.dealii.org/trunk@8484 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/fe/shapes.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/fe/shapes.cc b/tests/fe/shapes.cc index c6bcfc12a1..a2f123f936 100644 --- a/tests/fe/shapes.cc +++ b/tests/fe/shapes.cc @@ -264,7 +264,7 @@ check_values_and_derivatives (const FiniteElement &fe, { const double val1 = fe_values.shape_value_component(i,x,c), val2 = fe.shape_value_component(i,q.point(x),c); - Assert (fabs(val1-val2) < 1e-13, ExcInternalError()); + Assert (std::fabs(val1-val2) < 1e-13, ExcInternalError()); }; // test something about the @@ -290,7 +290,7 @@ check_values_and_derivatives (const FiniteElement &fe, { Tensor<1,dim> tmp=fe_values.shape_grad_component(i,x,c); tmp -= fe.shape_grad_component (i,q.point(x), c); - Assert (sqrt(tmp*tmp)<1e-14, ExcInternalError()); + Assert (std::sqrt(tmp*tmp)<1e-14, ExcInternalError()); }; if (fe.is_primitive(i)) @@ -315,9 +315,9 @@ check_values_and_derivatives (const FiniteElement &fe, for (unsigned int j=0; jmax_diff) max_diff=diff; - Assert (fabs(tmp[j][k]) < 1e-6, ExcInternalError()); + Assert (std::fabs(tmp[j][k]) < 1e-6, ExcInternalError()); } }; -- 2.39.5