# HG changeset patch # User deba # Date 1141309323 0 # Node ID c1fc2c14a3ae0defa3301313ceacc0da3bde8880 # Parent 9430de37057017f006d5467adccbb56f9f02119a Bugfix in bpugraph diff -r 9430de370570 -r c1fc2c14a3ae lemon/full_graph.h --- a/lemon/full_graph.h Wed Mar 01 17:37:25 2006 +0000 +++ b/lemon/full_graph.h Thu Mar 02 14:22:03 2006 +0000 @@ -606,7 +606,7 @@ static int aNodeId(const Node& node) { return node.id >> 1; } - static Node fromANodeId(int id, Node) { + static Node fromANodeId(int id) { return Node(id << 1); } int maxANodeId() const { diff -r 9430de370570 -r c1fc2c14a3ae lemon/list_graph.h --- a/lemon/list_graph.h Wed Mar 01 17:37:25 2006 +0000 +++ b/lemon/list_graph.h Thu Mar 02 14:22:03 2006 +0000 @@ -811,7 +811,7 @@ static int aNodeId(const Node& node) { return node.id >> 1; } - static Node fromANodeId(int id, Node) { + static Node fromANodeId(int id) { return Node(id << 1); } int maxANodeId() const { diff -r 9430de370570 -r c1fc2c14a3ae lemon/smart_graph.h --- a/lemon/smart_graph.h Wed Mar 01 17:37:25 2006 +0000 +++ b/lemon/smart_graph.h Thu Mar 02 14:22:03 2006 +0000 @@ -504,7 +504,7 @@ static int aNodeId(const Node& node) { return node.id >> 1; } - static Node fromANodeId(int id, Node) { + static Node fromANodeId(int id) { return Node(id << 1); } int maxANodeId() const {