[Lemon-commits] deba: r3495 - lemon/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Fri May 23 12:55:43 CEST 2008


Author: deba
Date: Fri May 23 12:55:41 2008
New Revision: 3495

Modified:
   lemon/trunk/lemon/nauty_reader.h

Log:
Bug fix full graph problam



Modified: lemon/trunk/lemon/nauty_reader.h
==============================================================================
--- lemon/trunk/lemon/nauty_reader.h	(original)
+++ lemon/trunk/lemon/nauty_reader.h	Fri May 23 12:55:41 2008
@@ -109,7 +109,9 @@
 	  }
 	  bool b = (c & (1 << (bit--))) != 0;
 
-	  ugraph.addEdge(nodes[i], nodes[j]);
+	  if (b) {
+	    ugraph.addEdge(nodes[i], nodes[j]);
+	  }
 	}
       }
     }



More information about the Lemon-commits mailing list