changeset 2069 | d55adbe1fc78 |
parent 2042 | bdc953f2a449 |
child 2084 | 59769591eb60 |
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