Bugfix in bpugraph
authordeba
Thu, 02 Mar 2006 14:22:03 +0000
changeset 1995c1fc2c14a3ae
parent 1994 9430de370570
child 1996 5dc13b93f8b4
Bugfix in bpugraph
lemon/full_graph.h
lemon/list_graph.h
lemon/smart_graph.h
     1.1 --- a/lemon/full_graph.h	Wed Mar 01 17:37:25 2006 +0000
     1.2 +++ b/lemon/full_graph.h	Thu Mar 02 14:22:03 2006 +0000
     1.3 @@ -606,7 +606,7 @@
     1.4      static int aNodeId(const Node& node) {
     1.5        return node.id >> 1;
     1.6      }
     1.7 -    static Node fromANodeId(int id, Node) {
     1.8 +    static Node fromANodeId(int id) {
     1.9        return Node(id << 1);
    1.10      }
    1.11      int maxANodeId() const {
     2.1 --- a/lemon/list_graph.h	Wed Mar 01 17:37:25 2006 +0000
     2.2 +++ b/lemon/list_graph.h	Thu Mar 02 14:22:03 2006 +0000
     2.3 @@ -811,7 +811,7 @@
     2.4      static int aNodeId(const Node& node) {
     2.5        return node.id >> 1;
     2.6      }
     2.7 -    static Node fromANodeId(int id, Node) {
     2.8 +    static Node fromANodeId(int id) {
     2.9        return Node(id << 1);
    2.10      }
    2.11      int maxANodeId() const {
     3.1 --- a/lemon/smart_graph.h	Wed Mar 01 17:37:25 2006 +0000
     3.2 +++ b/lemon/smart_graph.h	Thu Mar 02 14:22:03 2006 +0000
     3.3 @@ -504,7 +504,7 @@
     3.4      static int aNodeId(const Node& node) {
     3.5        return node.id >> 1;
     3.6      }
     3.7 -    static Node fromANodeId(int id, Node) {
     3.8 +    static Node fromANodeId(int id) {
     3.9        return Node(id << 1);
    3.10      }
    3.11      int maxANodeId() const {