COIN-OR::LEMON - Graph Library

Changeset 1979:c2992fd74dad in lemon-0.x for lemon/radix_sort.h


Ignore:
Timestamp:
02/22/06 19:26:56 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2569
Message:

Mergeing extendermerge branch
Changes:

the extender system
resize for static size graph
UGraphExtender => UndirectGraphExtender?

UGraphExtenders with changed meaning

Some UGraphExtender /SubUGraphExtenders, DirectUGraphExtender/
GridGraph? => GridUGraph
radix sort to ansi compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/radix_sort.h

    r1956 r1979  
    265265    const int size =
    266266      (unsigned int)std::numeric_limits<unsigned char>::max() + 1;
    267     int counter[size];
     267    std::vector<int> counter(size);
    268268    for (int i = 0; i < size; ++i) {
    269269      counter[i] = 0;
     
    291291    const int size =
    292292      (unsigned int)std::numeric_limits<unsigned char>::max() + 1;
    293     int counter[size];
     293    std::vector<int> counter(size);
    294294    for (int i = 0; i < size; ++i) {
    295295      counter[i] = 0;
Note: See TracChangeset for help on using the changeset viewer.