COIN-OR::LEMON - Graph Library

Changeset 30:72364ba3466d in lemon-main


Ignore:
Timestamp:
01/04/08 08:16:15 (17 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
31:742abd64255e, 33:d794ec195ec0
Phase:
public
Message:

Bug fix in maps.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/maps.h

    r29 r30  
    13521352    void set(const Key& key, Value value) {
    13531353      if (value) {
    1354         container.push_front(key);
     1354        container.push_front(functor(key));
    13551355      }
    13561356    }
     
    14091409    void set(const Key& key, Value value) {
    14101410      if (value) {
    1411         it = container.insert(it, key);
     1411        it = container.insert(it, functor(key));
    14121412        ++it;
    14131413      }
Note: See TracChangeset for help on using the changeset viewer.