1.1 --- a/src/lemon/undir_graph_extender.h Thu Nov 11 09:31:55 2004 +0000
1.2 +++ b/src/lemon/undir_graph_extender.h Thu Nov 11 10:17:20 2004 +0000
1.3 @@ -176,14 +176,14 @@
1.4 using Parent::id;
1.5
1.6 int id(const Edge &e) const {
1.7 - return 2*Parent::id(e) + int(e.forward);
1.8 + return 2 * Parent::id(e) + int(e.forward);
1.9 }
1.10
1.11 - int maxEdgeId() const {
1.12 - return 2*Parent::maxEdgeId() + 1;
1.13 + int maxId(Edge = INVALID) const {
1.14 + return 2 * Parent::maxId(typename Parent::Edge()) + 1;
1.15 }
1.16 - int maxUndirEdgeId() const {
1.17 - return Parent::maxEdgeId();
1.18 + int maxId(UndirEdge = INVALID) const {
1.19 + return Parent::maxId(typename Parent::Edge());
1.20 }
1.21
1.22 };