The same for unsigned radix sort
authordeba
Fri, 28 Sep 2007 12:15:10 +0000
changeset 2478bf783151bc92
parent 2477 b5e1f017ff41
child 2479 221cfaf118a6
The same for unsigned radix sort
lemon/radix_sort.h
     1.1 --- a/lemon/radix_sort.h	Fri Sep 28 12:14:18 2007 +0000
     1.2 +++ b/lemon/radix_sort.h	Fri Sep 28 12:15:10 2007 +0000
     1.3 @@ -165,7 +165,7 @@
     1.4  
     1.5      Iterator it;
     1.6      for (it = first; it != last; ++it) {
     1.7 -      if (mask & functor(*it)) {
     1.8 +      while (mask & functor(*it)) {
     1.9  	++max_digit;
    1.10  	mask <<= 1;
    1.11        }