From 777f7dc3035d1509ab32b50952b0d4816f08ca4d Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 5 Jun 2012 15:46:30 +0000 Subject: [PATCH] Coding rules. --- src/MEDCoupling/MEDCouplingMemArray.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.39.2