]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add some missing std.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Mar 2004 10:11:43 +0000 (10:11 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Mar 2004 10:11:43 +0000 (10:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@8797 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/denis_1.cc

index 2d5d511f48b7ce6a2cd2a1c29bd4dc78ab78d532..ff09a4144e38d738f073edaf08eb3b16b87c23f7 100644 (file)
@@ -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 ) ) ) ;
       };
 };

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.