COIN-OR::LEMON - Graph Library

Changeset 1057:633956ca9421 in lemon


Ignore:
Timestamp:
04/24/11 21:59:31 (8 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Children:
1058:d9a2bf30b360, 1059:4f9e5801224e, 1107:2b6bffe0e7e8
Phase:
public
Message:

Fix IterableValueMap? (#420)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/maps.h

    r956 r1057  
    32533253    virtual void add(const Key& key) {
    32543254      Parent::add(key);
    3255       unlace(key);
     3255      lace(key);
    32563256    }
    32573257
  • test/maps_test.cc

    r956 r1057  
    642642    const int num = 10;
    643643    Graph g;
     644    Ibm map0(g, true);
    644645    std::vector<Item> items;
    645646    for (int i = 0; i < num; ++i) {
     
    723724    const int num = 10;
    724725    Graph g;
     726    Iim map0(g, 0);
    725727    std::vector<Item> items;
    726728    for (int i = 0; i < num; ++i) {
     
    773775    const int num = 10;
    774776    Graph g;
     777    Ivm map0(g, 0.0);
    775778    std::vector<Item> items;
    776779    for (int i = 0; i < num; ++i) {
Note: See TracChangeset for help on using the changeset viewer.