]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add some missing std's.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Tue, 24 Feb 2004 07:34:45 +0000 (07:34 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Tue, 24 Feb 2004 07:34:45 +0000 (07:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@8512 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/grid_transform.cc

index f7c75cd13cea0da67bc74615260dd7ed5ead6862..8243daa3244c2c8edce41527dbc899d1ace91733 100644 (file)
@@ -70,7 +70,7 @@ int main ()
                   vertex_no<GeometryInfo<dim>::vertices_per_face; ++vertex_no)
                {
                  const Point<dim> &v=face->vertex(vertex_no);
-                 if (fabs(sqrt(v.square())-outer_radius)<1e-12)
+                 if (std::fabs(std::sqrt(v.square())-outer_radius)<1e-12)
                    {
                                                       // leave the
                                                       // point, where
@@ -78,7 +78,7 @@ int main ()
                      new_points.insert(std::pair<unsigned int, Point<dim> > (
                        face->vertex_index(vertex_no), v));
                    }
-                 else if (fabs(sqrt(v.square())-inner_radius)<1e-12)
+                 else if (std::fabs(std::sqrt(v.square())-inner_radius)<1e-12)
                    {
                                                       // move the
                                                       // center of

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.