COIN-OR::LEMON - Graph Library

Changeset 138:a0f755a30cf1 in lemon-1.2 for lemon


Ignore:
Timestamp:
04/21/08 17:35:12 (16 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

SmartGraph? addEdge bug fix (ticket #88)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/smart_graph.h

    r125 r138  
    559559    }
    560560   
    561     Edge addArc(Node u, Node v) {
     561    Edge addEdge(Node u, Node v) {
    562562      int n = arcs.size();
    563563      arcs.push_back(ArcT());
     
    640640    ///\return the new edge.
    641641    Edge addEdge(const Node& s, const Node& t) {
    642       return Parent::addArc(s, t);
     642      return Parent::addEdge(s, t);
    643643    }
    644644
Note: See TracChangeset for help on using the changeset viewer.