From 12bd2f850102dc7363b9978975e37eab0cecdaa9 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 25 Apr 2017 08:55:09 +0200 Subject: [PATCH] Shame on me. I've not launched non reg tests. --- src/MEDCoupling/MEDCouplingMemArray.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.39.2