]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use std:: where necessary.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 30 Apr 2003 23:01:57 +0000 (23:01 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 30 Apr 2003 23:01:57 +0000 (23:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@7523 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/eigen.h

index ab474523bd79e39ce5ea96db63a7cf79f4879089..2fb54ab4ef1cb84e84510ed0185f550862f3c8ce 100644 (file)
@@ -24,6 +24,8 @@
 #include <lac/vector_memory.h>
 #include <lac/precondition.h>
 
+#include <cmath>
+
 /**
  * Power method (von Mises).
  *
@@ -261,7 +263,7 @@ EigenPower<VECTOR>::solve (double       &value,
          Assert (i<x.size(), ExcInternalError());
          entry = y (i++);
        }
-      while (fabs(entry) < thresh);
+      while (std::fabs(entry) < thresh);
 
       --i;
 
@@ -361,7 +363,7 @@ EigenInverse<VECTOR>::solve (double       &value,
          Assert (i<x.size(), ExcInternalError());
          entry = y (i++);
        }
-      while (fabs(entry) < thresh);
+      while (std::fabs(entry) < thresh);
 
       --i;
 

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.