SmartGraph addEdge bug fix (ticket #88)
authorBalazs Dezso <deba@inf.elte.hu>
Mon, 21 Apr 2008 17:35:12 +0200
changeset 138a0f755a30cf1
parent 137 483bc6ed7292
child 139 701c529ba737
SmartGraph addEdge bug fix (ticket #88)
lemon/smart_graph.h
     1.1 --- a/lemon/smart_graph.h	Fri Apr 18 06:20:32 2008 +0100
     1.2 +++ b/lemon/smart_graph.h	Mon Apr 21 17:35:12 2008 +0200
     1.3 @@ -558,7 +558,7 @@
     1.4        return Node(n);
     1.5      }
     1.6      
     1.7 -    Edge addArc(Node u, Node v) {
     1.8 +    Edge addEdge(Node u, Node v) {
     1.9        int n = arcs.size();
    1.10        arcs.push_back(ArcT());
    1.11        arcs.push_back(ArcT());
    1.12 @@ -639,7 +639,7 @@
    1.13      ///and \c t.
    1.14      ///\return the new edge.
    1.15      Edge addEdge(const Node& s, const Node& t) { 
    1.16 -      return Parent::addArc(s, t); 
    1.17 +      return Parent::addEdge(s, t); 
    1.18      }
    1.19  
    1.20      ///Clear the graph.