]> Creatis software - clitk.git/commitdiff
Correct sorting order in MaskOfIntegratedIntensity tool
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 7 Jun 2017 14:51:41 +0000 (16:51 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 7 Jun 2017 14:51:41 +0000 (16:51 +0200)
tools/clitkMaskOfIntegratedIntensityGenericFilter.txx

index 5f91cbd5939ce0a135c83eb74c0f32504f50c864..c6e2cc9a5b087682642ec054303e77c434a1f991 100644 (file)
@@ -172,7 +172,7 @@ namespace clitk
 //--------------------------------------------------------------------
 template <typename T>
 bool comparator ( const std::pair<T, size_t>& l, const std::pair<T, size_t>& r)
-   { return l.first < r.first; }
+   { return l.first > r.first; }
 //--------------------------------------------------------------------
 
 }//end clitk