From: hartmann Date: Wed, 17 Mar 2004 10:11:43 +0000 (+0000) Subject: Add some missing std. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40eba704bf7f295715291f2c52e09d43dbaceda1;p=dealii-svn.git Add some missing std. git-svn-id: https://svn.dealii.org/trunk@8797 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/denis_1.cc b/tests/bits/denis_1.cc index 2d5d511f48..ff09a4144e 100644 --- a/tests/bits/denis_1.cc +++ b/tests/bits/denis_1.cc @@ -46,8 +46,8 @@ class F : public Function<2> double x, y, r; x = p(0); y = p(1); - r = sqrt( x*x + y*y ); - return 0.5 * ( 1 - tanh( ( r - 0.5 ) + r = std::sqrt( x*x + y*y ); + return 0.5 * ( 1 - std::tanh( ( r - 0.5 ) /( 2*M_SQRT2 * delta ) ) ) ; }; };