Bug fix full graph problam
authordeba
Fri, 23 May 2008 10:55:41 +0000
changeset 261052cf8f8f25b4
parent 2609 c36f00f19f2b
child 2611 b526b87d8c2f
Bug fix full graph problam
lemon/nauty_reader.h
     1.1 --- a/lemon/nauty_reader.h	Fri May 16 12:28:23 2008 +0000
     1.2 +++ b/lemon/nauty_reader.h	Fri May 23 10:55:41 2008 +0000
     1.3 @@ -109,7 +109,9 @@
     1.4  	  }
     1.5  	  bool b = (c & (1 << (bit--))) != 0;
     1.6  
     1.7 -	  ugraph.addEdge(nodes[i], nodes[j]);
     1.8 +	  if (b) {
     1.9 +	    ugraph.addEdge(nodes[i], nodes[j]);
    1.10 +	  }
    1.11  	}
    1.12        }
    1.13      }