]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add some missing std::
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 13 Feb 2004 07:19:03 +0000 (07:19 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 13 Feb 2004 07:19:03 +0000 (07:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@8463 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 49cc34c962705bed40397ae767a650087f68cf53..a8e9c75b5828321a0127d1eebb38746d699bd5ae 100644 (file)
@@ -289,7 +289,7 @@ EigenPower<VECTOR>::solve (double       &value,
 
                                       // Check the change of the eigenvalue
                                       // Brrr, this is not really a good criterion
-      conv = this->control().check (iter, fabs(1./length-1./old_length));
+      conv = this->control().check (iter, std::fabs(1./length-1./old_length));
     }
   
   this->memory.free(Vy);
@@ -405,7 +405,7 @@ EigenInverse<VECTOR>::solve (double       &value,
                                           // Check the residual
          conv = this->control().check (iter, res);
        } else {
-         conv = this->control().check (iter, fabs(1./value-1./old_value));
+         conv = this->control().check (iter, std::fabs(1./value-1./old_value));
        }
       old_value = value;
     }

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.