]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Windows compatibility
authorana <ana@opencascade.com>
Wed, 25 Jun 2014 08:37:25 +0000 (12:37 +0400)
committerana <ana@opencascade.com>
Wed, 25 Jun 2014 08:37:25 +0000 (12:37 +0400)
src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx

index 359ec97421479fcebefa4fd2427b464c601b72e3..6092e0f51beb1001616a4c5b0a98a1d074c06e19 100644 (file)
@@ -879,7 +879,7 @@ bool FindInflection(const INTERP_KERNEL::BoxSplittingOptions& bso, const Interna
 
       // Gradient absolute value
       for(std::size_t i=1;i<derivate_second_order.size();i++)
-        gradient_absolute.push_back(fabs(derivate_second_order[i]-derivate_second_order[i-1])) ;
+        gradient_absolute.push_back(abs(derivate_second_order[i]-derivate_second_order[i-1])) ;
       if(derivate_second_order.empty())
         continue;
       for(std::size_t i=1;i<derivate_second_order.size()-1;i++)