]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add some missing std.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 24 Feb 2004 07:42:36 +0000 (07:42 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 24 Feb 2004 07:42:36 +0000 (07:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@8514 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/support_point_map.cc

index eed302e04d089f38867f6c7f50877cf196c933c0..de2c3905c0ab1f4b6d3f9886dd79928c402d2eaf 100644 (file)
@@ -86,7 +86,7 @@ check ()
       GridGenerator::hyper_ball(tr, Point<dim>(), 1);
     }
   else
-    GridGenerator::hyper_cube(tr, -1./sqrt(dim),1./sqrt(dim));
+    GridGenerator::hyper_cube(tr, -1./std::sqrt(static_cast<double>(dim)),1./std::sqrt(static_cast<double>(dim)));
   if (dim != 1)
     {
       static const HyperBallBoundary<dim> boundary;

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.