From: tbaudier Date: Wed, 7 Jun 2017 14:51:41 +0000 (+0200) Subject: Correct sorting order in MaskOfIntegratedIntensity tool X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=182d324aaea3d92e8b676d8a6e609ba8fab44726;p=clitk.git Correct sorting order in MaskOfIntegratedIntensity tool --- diff --git a/tools/clitkMaskOfIntegratedIntensityGenericFilter.txx b/tools/clitkMaskOfIntegratedIntensityGenericFilter.txx index 5f91cbd..c6e2cc9 100644 --- a/tools/clitkMaskOfIntegratedIntensityGenericFilter.txx +++ b/tools/clitkMaskOfIntegratedIntensityGenericFilter.txx @@ -172,7 +172,7 @@ namespace clitk //-------------------------------------------------------------------- template bool comparator ( const std::pair& l, const std::pair& r) - { return l.first < r.first; } + { return l.first > r.first; } //-------------------------------------------------------------------- }//end clitk