]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Shame on me. I've not launched non reg tests.
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 25 Apr 2017 06:55:09 +0000 (08:55 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 25 Apr 2017 06:55:09 +0000 (08:55 +0200)
src/MEDCoupling/MEDCouplingMemArray.cxx

index 934a9b2e639286d9cf67558675874a7241db8c7c..1a53cac8efa5559561bb52f487e04861e955225c 100644 (file)
@@ -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;
 };