From 0c2a108a68461eed2e305c23f232e235665ecb84 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Fri, 3 Nov 2023 17:40:09 +0800 Subject: [PATCH] tmp --- ses_cross_graph.c | 2 ++ ses_layout.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.25.1