From: Anthony Geay Date: Tue, 25 Apr 2017 06:55:09 +0000 (+0200) Subject: Shame on me. I've not launched non reg tests. X-Git-Tag: V8_4_0a1~75 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=12bd2f850102dc7363b9978975e37eab0cecdaa9;p=tools%2Fmedcoupling.git Shame on me. I've not launched non reg tests. --- diff --git a/src/MEDCoupling/MEDCouplingMemArray.cxx b/src/MEDCoupling/MEDCouplingMemArray.cxx index 934a9b2e6..1a53cac8e 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.cxx +++ b/src/MEDCoupling/MEDCouplingMemArray.cxx @@ -6953,7 +6953,7 @@ struct LowerThan struct InRange { InRange(int a, int b):_a(a),_b(b) { } - bool operator()(int v) const { return v>=_a || v<_b; } + bool operator()(int v) const { return v>=_a && v<_b; } int _a,_b; };