# HG changeset patch # User Balazs Dezso # Date 1208792112 -7200 # Node ID a0f755a30cf1c843736ed1d881f151f6f59ac1f3 # Parent 483bc6ed7292c108f14489f72f2f3361e7b2f6be SmartGraph addEdge bug fix (ticket #88) diff -r 483bc6ed7292 -r a0f755a30cf1 lemon/smart_graph.h --- a/lemon/smart_graph.h Fri Apr 18 06:20:32 2008 +0100 +++ b/lemon/smart_graph.h Mon Apr 21 17:35:12 2008 +0200 @@ -558,7 +558,7 @@ return Node(n); } - Edge addArc(Node u, Node v) { + Edge addEdge(Node u, Node v) { int n = arcs.size(); arcs.push_back(ArcT()); arcs.push_back(ArcT()); @@ -639,7 +639,7 @@ ///and \c t. ///\return the new edge. Edge addEdge(const Node& s, const Node& t) { - return Parent::addArc(s, t); + return Parent::addEdge(s, t); } ///Clear the graph.