src/hugo/map_bits.h
changeset 911 89a4fbb99cad
parent 906 17f31d280385
child 919 6153d9cf78c6
equal deleted inserted replaced
2:6f55061c3f0a 3:c84cb724e2b2
    52   };
    52   };
    53 
    53 
    54   template <typename Graph>
    54   template <typename Graph>
    55   struct KeyInfo<Graph, typename Graph::SymEdgeIt> {
    55   struct KeyInfo<Graph, typename Graph::SymEdgeIt> {
    56     static int maxId(const Graph& graph) {
    56     static int maxId(const Graph& graph) {
    57       return graph.maxEdgeId() >> 1;
    57       return graph.maxSymEdgeId();
    58     }
    58     }
    59     static int id(const Graph& graph, const typename Graph::Edge& edge) {
    59     static int id(const Graph& graph, const typename Graph::SymEdge& edge) {
    60       return graph.id(edge) >> 1;
    60       return graph.id(edge);
    61     }
    61     }
    62   };
    62   };
    63 
    63 
    64   /// @}
    64   /// @}
    65 }
    65 }