COIN-OR::LEMON - Graph Library

Changeset 1271:40e5d0d44a65 in lemon-0.x


Ignore:
Timestamp:
03/29/05 15:30:29 (15 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1701
Message:

Some bug fix

Location:
src/lemon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/array_map.h

    r1267 r1271  
    230230    }
    231231
     232    const Graph* getGraph() {
     233      return graph;
     234    }
     235
    232236//     /// The stl compatible pair iterator of the map.
    233237//     typedef MapIterator<ArrayMap> Iterator;
  • src/lemon/map_iterator.h

    r1267 r1271  
    623623    /// The map initialized const value set.
    624624    MapValueSet(const Graph& _graph, Map& _map)
    625       : graph(&_graph), map(&_map) {}
     625      : map(&_map), graph(&_graph) {}
    626626
    627627    /// The const iterator of the set.
Note: See TracChangeset for help on using the changeset viewer.