]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Coding rules.
authorageay <ageay>
Tue, 5 Jun 2012 15:46:30 +0000 (15:46 +0000)
committerageay <ageay>
Tue, 5 Jun 2012 15:46:30 +0000 (15:46 +0000)
src/MEDCoupling/MEDCouplingMemArray.cxx

index 76a475b4efdb7ab04189f6128fad5cb5c6208e9e..b45e11dee7626794b19f2e633fff3b66fff5a54b 100644 (file)
@@ -550,7 +550,8 @@ bool DataArrayDouble::isMonotonic(bool increasing, double eps) const throw(INTER
     {
       for(int i=1;i<nbOfElements;i++)
         {
-          if(ptr[i]<(ref+absEps)) return false;
+          if(ptr[i]<(ref+absEps))
+            return false;
           ref=ptr[i];
         }
       return true;
@@ -559,7 +560,8 @@ bool DataArrayDouble::isMonotonic(bool increasing, double eps) const throw(INTER
     {
       for(int i=1;i<nbOfElements;i++)
         {
-          if(ptr[i]>(ref-absEps)) return false;
+          if(ptr[i]>(ref-absEps))
+            return false;
           ref=ptr[i];
         }
       return true;