1.1 --- a/lemon/hypercube_graph.h Tue Sep 29 10:39:20 2009 +0200
1.2 +++ b/lemon/hypercube_graph.h Tue Sep 29 13:03:34 2009 +0200
1.3 @@ -262,7 +262,7 @@
1.4 return arc._id >> _dim;
1.5 }
1.6
1.7 - int index(Node node) const {
1.8 + static int index(Node node) {
1.9 return node._id;
1.10 }
1.11
1.12 @@ -337,7 +337,7 @@
1.13 ///
1.14 /// Gives back the index of the given node.
1.15 /// The lower bits of the integer describes the node.
1.16 - int index(Node node) const {
1.17 + static int index(Node node) {
1.18 return Parent::index(node);
1.19 }
1.20