]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix missing std:: for Compaq's cxx.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 Jan 2002 07:24:32 +0000 (07:24 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 Jan 2002 07:24:32 +0000 (07:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@5359 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/point.h

index 9d04b1b372e993ab372b4c973ac0377feaa05d1b..0b6ee511037fc191fe94880a93dd12720afe5cb9 100644 (file)
@@ -308,7 +308,7 @@ double Point<dim>::distance (const Point<dim> &p) const
       sum += diff*diff;
     }
   
-  return sqrt(sum);
+  return std::sqrt(sum);
 }
 
 

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.