From: yu.dongliang <18588496441@163.com> Date: Sat, 21 Oct 2023 09:43:42 +0000 (+0800) Subject: fix: __ses_path_sr() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=4f78be2e0119d42f558391349067f649450183b8;p=ses.git fix: __ses_path_sr() --- 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,