__ses_de_cross()
authoryu.dongliang <18588496441@163.com>
Wed, 8 Nov 2023 12:07:57 +0000 (20:07 +0800)
committeryu.dongliang <18588496441@163.com>
Wed, 8 Nov 2023 12:07:57 +0000 (20:07 +0800)
ses_layout.c

index 29dbe8a3f61921f24336d0368e24b2806546ab4c..f126ef578d9e8d70f06c81d72647efe2209bf1b7 100644 (file)
@@ -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--) {