src/hugo/map_bits.h
changeset 909 6a22e0dfd453
parent 906 17f31d280385
child 919 6153d9cf78c6
     1.1 --- a/src/hugo/map_bits.h	Fri Sep 24 11:55:54 2004 +0000
     1.2 +++ b/src/hugo/map_bits.h	Sun Sep 26 21:43:38 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