From cda0f9cf105d0a5f40bebe39640e8bc00f6f0f2e Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Fri, 7 Jul 2023 15:12:10 +0800 Subject: [PATCH] ses_pins_same_line() --- ses_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ses_layout.c b/ses_layout.c index a762a21..6309722 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -57,7 +57,7 @@ int ses_pins_same_line(ScfEfunction* f, scf_vector_t* lines) m = 0; n = 0; - while (m < vec->size && n < p->n_tos - 1) { + while (m < vec->size && n + 1 < p->n_tos) { p2 = vec->data[m]; if (p2->cid < p->tos[n]) -- 2.25.1