tmp
authoryu.dongliang <18588496441@163.com>
Fri, 3 Nov 2023 09:40:09 +0000 (17:40 +0800)
committeryu.dongliang <18588496441@163.com>
Fri, 3 Nov 2023 09:40:09 +0000 (17:40 +0800)
ses_cross_graph.c
ses_layout.c

index 63d013834d54a33049b64484c85850d909b82d36..493a526773175da7f9ea39b1c258e4c017f24703 100644 (file)
@@ -216,6 +216,8 @@ static int __cross_kcolor_find_not_neighbor(scf_vector_t* graph, int k, ses_edge
                if (edge1) {
                        *pp0 = edge0;
                        *pp1 = edge1;
+
+                       scf_loge("c%ld->color: %ld, c%ld->color: %ld\n", edge0->c->id, edge0->color, edge1->c->id, edge1->color);
                        return 0;
                }
        }
index b0afd4ec2c303c0e6af25bc3804a55ded3cc1c23..3d27ed786d3d35ecce809d7efed997db768c901f 100644 (file)
@@ -1282,8 +1282,10 @@ int ses_cross(ScfEfunction* f, int d)
                for (i = 0; i < graph->size; i++) {
                        edge      = graph->data[i];
 
-                       if (edge->color < 0)
+                       if (edge->color < 0) {
+                               scf_loge("j: %ld, i: %ld, c%ld->color: %ld\n", j, i, edge->c->id, edge->color);
                                break;
+                       }
                }
 
                if (i < graph->size)