diff -r de16f1f2d228 -r ba49101c9b07 lemon/radix_sort.h --- a/lemon/radix_sort.h Tue Dec 02 23:15:43 2008 +0100 +++ b/lemon/radix_sort.h Thu Jan 08 17:10:42 2009 +0000 @@ -2,7 +2,7 @@ * * This file is a part of LEMON, a generic C++ optimization library. * - * Copyright (C) 2003-2008 + * Copyright (C) 2003-2009 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * @@ -348,7 +348,7 @@ sizeof(Value) - 1, functor); std::copy(buffer + length, buffer + 2 * length, first); } else { - signedStableRadixIntroSort(buffer + length, buffer + 2 * length, + signedStableRadixIntroSort(buffer + length, buffer + 2 * length, buffer, sizeof(Value) - 1, functor); std::copy(buffer, buffer + length, first); } @@ -360,7 +360,7 @@ } template - void stableRadixUnsignedSort(Iterator first, Iterator last, + void stableRadixUnsignedSort(Iterator first, Iterator last, Functor functor) { if (first == last) return; typedef typename std::iterator_traits::value_type Key;