From 3346f0f5732151e6adc0505a1e0921a8220efd7f Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Thu, 13 Jul 2023 15:24:40 +0800 Subject: [PATCH] tmp --- ses_layout.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index f8aed09..fd1c468 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -169,12 +169,15 @@ int ses_lines_same_components(ScfEfunction* f) ec = NULL; - for (i = 0; i < f->n_elines - 1; i++) { + for (i = 0; i < f->n_elines; i++) { el0 = f->elines[i]; - for (j = i + 1; j < f->n_elines; j++) { + for (j = 0; j < f->n_elines; j++) { el1 = f->elines[j]; + if (el0 == el1) + continue; + k0 = 0; k1 = 0; -- 2.25.1