From 1ac7e1164e5bcb9d2fb8e041f9183b5a8ad6c61d Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Wed, 18 Oct 2023 18:31:48 +0800 Subject: [PATCH] fix: ses_layout.c --- ses_layout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ses_layout.c b/ses_layout.c index 46403dc..d63e3a3 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -186,7 +186,8 @@ next: p2 = f->components[p->tos[n]]->pins[p->tos[n + 1]]; - if (p2->cid > p->cid || p2->id > p->id) + if (p2->cid > p->cid + || (p2->cid == p->cid && p2->id > p->id)) break; el2 = f->elines[p2->lid]; -- 2.25.1