From: yu.dongliang <18588496441@163.com> Date: Thu, 13 Jul 2023 07:24:40 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=3346f0f5732151e6adc0505a1e0921a8220efd7f;p=ses.git tmp --- 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;