# HG changeset patch # User deba # Date 1211540141 0 # Node ID 52cf8f8f25b48d66e6607e9112b0c66aa784f10f # Parent c36f00f19f2b33b0977f0d81b4d2b5a36ddc8ca2 Bug fix full graph problam diff -r c36f00f19f2b -r 52cf8f8f25b4 lemon/nauty_reader.h --- a/lemon/nauty_reader.h Fri May 16 12:28:23 2008 +0000 +++ b/lemon/nauty_reader.h Fri May 23 10:55:41 2008 +0000 @@ -109,7 +109,9 @@ } bool b = (c & (1 << (bit--))) != 0; - ugraph.addEdge(nodes[i], nodes[j]); + if (b) { + ugraph.addEdge(nodes[i], nodes[j]); + } } } }