]> https://gitweb.dealii.org/ - dealii.git/commitdiff
std::-qualify sqrt(...)
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 15 May 2001 12:01:59 +0000 (12:01 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 15 May 2001 12:01:59 +0000 (12:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@4605 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_sparse_matrix.h

index 96de3ac9c286206c981e51a7359e0fb067527e72..6fe61bbde8ea7930221a8baf3a18bd27f19bed4a 100644 (file)
@@ -817,7 +817,7 @@ residual (BlockVector<somenumber>          &dst,
   somenumber res = 0;
   for (unsigned int row=0; row<rows; ++row)
     res += dst.block(row).norm_sqr ();
-  return sqrt(res);
+  return std::sqrt(res);
 };
 
 

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.