]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Qualify fabs properly with std::.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Nov 2009 14:00:07 +0000 (14:00 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Nov 2009 14:00:07 +0000 (14:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@20115 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_abf.cc

index 240ce63e1823db9c779d04fde5119178fee3f9b0..ea2c3a1ca904804bcb8de5fbecc48c8d0ac828bb 100644 (file)
@@ -700,7 +700,7 @@ FE_ABF<dim>::interpolate(
 
   // TODO: Check if this "correction" can be removed.
   for (unsigned int i=0; i<boundary_weights_abf.size(1); ++i)
-    if (fabs (local_dofs[start_abf_dofs+i]) < 1.0e-16)
+    if (std::fabs (local_dofs[start_abf_dofs+i]) < 1.0e-16)
       local_dofs[start_abf_dofs+i] = 0.0;
 }
 
@@ -760,7 +760,7 @@ FE_ABF<dim>::interpolate(
 
   // TODO: Check if this "correction" can be removed.
   for (unsigned int i=0; i<boundary_weights_abf.size(1); ++i)
-    if (fabs (local_dofs[start_abf_dofs+i]) < 1.0e-16)
+    if (std::fabs (local_dofs[start_abf_dofs+i]) < 1.0e-16)
       local_dofs[start_abf_dofs+i] = 0.0;
 }
 

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.