From: yu.dongliang <18588496441@163.com> Date: Fri, 7 Jul 2023 07:12:10 +0000 (+0800) Subject: ses_pins_same_line() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=cda0f9cf105d0a5f40bebe39640e8bc00f6f0f2e;p=ses.git ses_pins_same_line() --- 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])