]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
standard name space forgotten
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Aug 2002 18:30:14 +0000 (18:30 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Aug 2002 18:30:14 +0000 (18:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@6330 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/vector.templates.h

index b29934c443c6eff26ec3bdf1a3824028eb9fcdb4..d5a1a0d8c416e287a07f564fcdc5277deaf87153 100644 (file)
@@ -263,9 +263,9 @@ Number Vector<Number>::lp_norm (const Number p) const
     };
                                   // add up remaining elements
   while (ptr != end())
-    sum0 += pow(std::fabs(*ptr++), p);
+    sum0 += std::pow(std::fabs(*ptr++), p);
   
-  return pow(sum0+sum1+sum2+sum3, 1./p);
+  return std::pow(sum0+sum1+sum2+sum3, 1./p);
 };
 
 

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.