From: yu.dongliang <18588496441@163.com> Date: Fri, 3 Nov 2023 09:40:09 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=0c2a108a68461eed2e305c23f232e235665ecb84;p=ses.git tmp --- diff --git a/ses_cross_graph.c b/ses_cross_graph.c index 63d0138..493a526 100644 --- a/ses_cross_graph.c +++ b/ses_cross_graph.c @@ -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; } } diff --git a/ses_layout.c b/ses_layout.c index b0afd4e..3d27ed7 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -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)