A (non)bug was fixed.
authoralpar
Sun, 25 Apr 2004 16:58:05 +0000
changeset 398ecebcedd8960
parent 397 b4d7b19b6740
child 399 11d69d6502e4
A (non)bug was fixed.
Some more docs in SymSmartGraph.
src/include/smart_graph.h
     1.1 --- a/src/include/smart_graph.h	Sun Apr 25 16:53:38 2004 +0000
     1.2 +++ b/src/include/smart_graph.h	Sun Apr 25 16:58:05 2004 +0000
     1.3 @@ -156,7 +156,7 @@
     1.4        nodes.push_back(NodeT()); //FIXME: Hmmm...
     1.5  
     1.6        for(std::vector<DynMapBase<Node> * >::iterator i=dyn_node_maps.begin();
     1.7 -	  i!=dyn_node_maps.end(); ++i) (**i).add(n.n);
     1.8 +	  i!=dyn_node_maps.end(); ++i) (**i).add(n);
     1.9  
    1.10        return n;
    1.11      }
    1.12 @@ -468,6 +468,7 @@
    1.13  
    1.14      SymSmartGraph() : SmartGraph() { }
    1.15      SymSmartGraph(const SmartGraph &_g) : SmartGraph(_g) { }
    1.16 +    ///Adds a pair of oppositely directed edges to the graph.
    1.17      Edge addEdge(Node u, Node v)
    1.18      {
    1.19        Edge e = SmartGraph::addEdge(u,v);