]> granicus.if.org Git - graphviz/commitdiff
#ifdef out debug code
authorerg <devnull@localhost>
Thu, 17 Apr 2008 22:59:20 +0000 (22:59 +0000)
committererg <devnull@localhost>
Thu, 17 Apr 2008 22:59:20 +0000 (22:59 +0000)
lib/topfish/hierarchy.c

index e74a1a04ad4cd025689640d4fdaf974a1b12ba91..9978eaa324b7a7f82fed9b401c502b0e84606946 100644 (file)
@@ -1249,7 +1249,9 @@ static int countActiveNodes(Hierarchy * hierarchy, int node, int level)
     int cnt, other;
 
     if (graph[node].active_level == level) {   // node is active
+#ifdef DEBUG
 fprintf (stderr, "(%d,%d) (%f,%f)\n", level,node,graph[node].x_coord,graph[node].y_coord);
+#endif
        return 1;
     } 
     cnt = countActiveNodes(hierarchy, hierarchy->cv2v[level][2*node], level-1);