From 4f78be2e0119d42f558391349067f649450183b8 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Sat, 21 Oct 2023 17:43:42 +0800 Subject: [PATCH] fix: __ses_path_sr() --- ses_step_jr.c | 4 ++-- ses_steps.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ses_step_jr.c b/ses_step_jr.c index 2547a4d..f6ad8cf 100644 --- a/ses_step_jr.c +++ b/ses_step_jr.c @@ -27,8 +27,8 @@ void __ses_path_sr(ScfEfunction* f, ses_path_t* path, int i, int j, ScfEpin* cp1 if (i > 0) { p0 = path->pins->data[i - 1]; - *r = p1->sr - p0->sr; - *jr = p1->jsr - p0->jsr; + *r = p1->sr - p0->pr; + *jr = p1->jsr - p0->jpr; } else { *r = p1->sr; *jr = p1->jsr; diff --git a/ses_steps.c b/ses_steps.c index fc2bcec..38aef66 100644 --- a/ses_steps.c +++ b/ses_steps.c @@ -41,7 +41,7 @@ static ses_step_t* ses_steps_1[] = &ses_step_va_diode, &ses_step_va_transistor, -#if 0 +#if 1 &ses_step_jr, &ses_step_va, &ses_step_va_balance, -- 2.25.1