From: yu.dongliang <18588496441@163.com> Date: Wed, 8 Nov 2023 12:07:57 +0000 (+0800) Subject: __ses_de_cross() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=9d7e74e4658457174d2d281ca20fab6521894c28;p=ses.git __ses_de_cross() --- diff --git a/ses_layout.c b/ses_layout.c index 29dbe8a..f126ef5 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -1079,10 +1079,10 @@ static int __ses_de_cross(ScfEfunction* f, int d) if (ret < 0) return ret; - if (0 < graph->size) { - v = graph->data[0]; + if (0 < graph->size) { + v = graph->data[0]; - N = v->edges->size; + N = v->edges->size + 1; } for (j = N; j >= 1; j--) {