gravatar
deba@inf.elte.hu
deba@inf.elte.hu
SmartGraph addEdge bug fix (ticket #88)
0 1 0
default
1 file changed with 2 insertions and 2 deletions:
↑ Collapse diff ↑
Show white space 6 line context
... ...
@@ -558,7 +558,7 @@
558 558
      return Node(n);
559 559
    }
560 560
    
561
    Edge addArc(Node u, Node v) {
561
    Edge addEdge(Node u, Node v) {
562 562
      int n = arcs.size();
563 563
      arcs.push_back(ArcT());
564 564
      arcs.push_back(ArcT());
... ...
@@ -639,7 +639,7 @@
639 639
    ///and \c t.
640 640
    ///\return the new edge.
641 641
    Edge addEdge(const Node& s, const Node& t) { 
642
      return Parent::addArc(s, t); 
642
      return Parent::addEdge(s, t); 
643 643
    }
644 644

	
645 645
    ///Clear the graph.
0 comments (0 inline)