[Lemon-commits] Balazs Dezso: SmartGraph addEdge bug fix (ticket...

Lemon HG hg at lemon.cs.elte.hu
Mon Apr 21 17:49:19 CEST 2008


details:   http://lemon.cs.elte.hu/hg/lemon/rev/a0f755a30cf1
changeset: 138:a0f755a30cf1
user:      Balazs Dezso <deba [at] inf.elte.hu>
date:      Mon Apr 21 17:35:12 2008 +0200
description:
	SmartGraph addEdge bug fix (ticket #88)

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
lemon/smart_graph.h |    4 ++--

diffs (21 lines):

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.



More information about the Lemon-commits mailing list