From: ageay Date: Tue, 5 Jun 2012 15:46:30 +0000 (+0000) Subject: Coding rules. X-Git-Tag: V6_main_FINAL~668 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=777f7dc3035d1509ab32b50952b0d4816f08ca4d;p=tools%2Fmedcoupling.git Coding rules. --- diff --git a/src/MEDCoupling/MEDCouplingMemArray.cxx b/src/MEDCoupling/MEDCouplingMemArray.cxx index 76a475b4e..b45e11dee 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.cxx +++ b/src/MEDCoupling/MEDCouplingMemArray.cxx @@ -550,7 +550,8 @@ bool DataArrayDouble::isMonotonic(bool increasing, double eps) const throw(INTER { for(int i=1;i(ref-absEps)) return false; + if(ptr[i]>(ref-absEps)) + return false; ref=ptr[i]; } return true;