[Lemon-commits] deba: r3318 - lemon/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Fri Sep 28 14:15:10 CEST 2007


Author: deba
Date: Fri Sep 28 14:15:10 2007
New Revision: 3318

Modified:
   lemon/trunk/lemon/radix_sort.h

Log:
The same for unsigned radix sort



Modified: lemon/trunk/lemon/radix_sort.h
==============================================================================
--- lemon/trunk/lemon/radix_sort.h	(original)
+++ lemon/trunk/lemon/radix_sort.h	Fri Sep 28 14:15:10 2007
@@ -165,7 +165,7 @@
 
     Iterator it;
     for (it = first; it != last; ++it) {
-      if (mask & functor(*it)) {
+      while (mask & functor(*it)) {
 	++max_digit;
 	mask <<= 1;
       }



More information about the Lemon-commits mailing list