# HG changeset patch # User Alpar Juttner # Date 2009-01-08 18:10:42 # Node ID ba49101c9b07bcbfc51366576f51f8d5ffdbdd60 # Parent de16f1f2d228be03fed82674499f76eb72082431 Update to 2009 plus whitespace unification diff --git a/lemon/radix_sort.h b/lemon/radix_sort.h --- a/lemon/radix_sort.h +++ b/lemon/radix_sort.h @@ -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; diff --git a/test/radix_sort_test.cc b/test/radix_sort_test.cc --- a/test/radix_sort_test.cc +++ b/test/radix_sort_test.cc @@ -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). *