]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Qualify fabs and sqrt properly with std::.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 16 Nov 2009 14:08:09 +0000 (14:08 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 16 Nov 2009 14:08:09 +0000 (14:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@20119 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria.cc

index d701a94a8a634ea7c83075ea2001a66bf86054ad..1d86aaf1a13f7020bb86bb9e9943267c5960d04e 100644 (file)
@@ -8735,7 +8735,7 @@ namespace internal
                                                             // the face (0 for faces 0,
                                                             // 2, and 4; 1 for faces 1, 3
                                                             // and 5)
-                           const double dist = fabs(new_unit[face_no/2] - face_no%2);
+                           const double dist = std::fabs(new_unit[face_no/2] - face_no%2);
                                                             // compare this with
                                                             // the empirical value
                                                             // allowed. if it is

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.