1.1 --- a/src/lemon/map_bits.h Mon Oct 04 16:03:25 2004 +0000
1.2 +++ b/src/lemon/map_bits.h Mon Oct 04 17:13:21 2004 +0000
1.3 @@ -54,10 +54,10 @@
1.4 template <typename Graph>
1.5 struct KeyInfo<Graph, typename Graph::SymEdgeIt> {
1.6 static int maxId(const Graph& graph) {
1.7 - return graph.maxEdgeId() >> 1;
1.8 + return graph.maxSymEdgeId();
1.9 }
1.10 - static int id(const Graph& graph, const typename Graph::Edge& edge) {
1.11 - return graph.id(edge) >> 1;
1.12 + static int id(const Graph& graph, const typename Graph::SymEdge& edge) {
1.13 + return graph.id(edge);
1.14 }
1.15 };
1.16