Bug fix: Using set instead reference assignment
authordeba
Fri, 05 May 2006 10:48:58 +0000
changeset 2069d55adbe1fc78
parent 2068 6936f130bba2
child 2070 1287ef6c180f
Bug fix: Using set instead reference assignment
lemon/ugraph_adaptor.h
     1.1 --- a/lemon/ugraph_adaptor.h	Tue May 02 18:23:42 2006 +0000
     1.2 +++ b/lemon/ugraph_adaptor.h	Fri May 05 10:48:58 2006 +0000
     1.3 @@ -961,7 +961,7 @@
     1.4  
     1.5      Edge addEdge(const Node& source, const Node& target) const {
     1.6        Edge edge = graph->addEdge(source, target);
     1.7 -      (*direction)[edge] = graph->source(edge) == source;
     1.8 +      direction->set(edge, graph->source(edge) == source);
     1.9        return edge; 
    1.10      }
    1.11