# HG changeset patch # User deba # Date 1146826138 0 # Node ID d55adbe1fc78886c958f68b59b18c235f937ba5f # Parent 6936f130bba2d82e79716a6d07a79365c7e52e86 Bug fix: Using set instead reference assignment diff -r 6936f130bba2 -r d55adbe1fc78 lemon/ugraph_adaptor.h --- a/lemon/ugraph_adaptor.h Tue May 02 18:23:42 2006 +0000 +++ b/lemon/ugraph_adaptor.h Fri May 05 10:48:58 2006 +0000 @@ -961,7 +961,7 @@ Edge addEdge(const Node& source, const Node& target) const { Edge edge = graph->addEdge(source, target); - (*direction)[edge] = graph->source(edge) == source; + direction->set(edge, graph->source(edge) == source); return edge; }