]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Warning hunting.
authorageay <ageay>
Tue, 24 Jan 2012 13:15:56 +0000 (13:15 +0000)
committerageay <ageay>
Tue, 24 Jan 2012 13:15:56 +0000 (13:15 +0000)
src/MEDCoupling/MEDCouplingMemArray.cxx

index 1dab0f188d470c1937edc9a5617aea7920f04c66..df59ea7e926d174f761284064ce2ef86e89e0aa7 100644 (file)
@@ -1600,7 +1600,7 @@ void DataArrayDouble::applyInv(double numerator) throw(INTERP_KERNEL::Exception)
   int nbOfElems=getNbOfElems();
   for(int i=0;i<nbOfElems;i++,ptr++)
     {
-      if(std::abs(*ptr)<std::numeric_limits<double>::min())
+      if(std::abs(*ptr)>std::numeric_limits<double>::min())
         {
           *ptr=numerator/(*ptr);
         }