src/lemon/map_bits.h
changeset 972 c0fdb1ad8e8d
parent 921 818510fa3d99
equal deleted inserted replaced
0:306837ef2cd8 1:9cade8224699
    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 }