diff -r e251336be488 -r 3fd1ba6e9872 lemon/graph_utils.h --- a/lemon/graph_utils.h Thu Aug 11 15:24:24 2005 +0000 +++ b/lemon/graph_utils.h Thu Aug 11 15:55:17 2005 +0000 @@ -995,7 +995,7 @@ /// \param key An undirected edge /// \return The "forward" directed edge view of undirected edge Value operator[](const Key& key) const { - return graph.edgeWithSource(key, graph.source(key)); + return graph.direct(key, true); } private: @@ -1035,7 +1035,7 @@ /// \param key An undirected edge /// \return The "backward" directed edge view of undirected edge Value operator[](const Key& key) const { - return graph.edgeWithSource(key, graph.target(key)); + return graph.direct(key, false); } private: