From: yu.dongliang <18588496441@163.com> Date: Fri, 20 Oct 2023 03:05:41 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=64affd3a792c667d22d0ca5bc6afa62c7f5a2680;p=ses.git tmp --- diff --git a/ses_step_va_transistor.c b/ses_step_va_transistor.c index 66c38ff..564ba8f 100644 --- a/ses_step_va_transistor.c +++ b/ses_step_va_transistor.c @@ -158,15 +158,15 @@ static int __ses_path_va_transistor(ScfEfunction* f, ses_path_t* path, int* chan __ses_path_pr(f, path, 0, i, NULL, &pr, &jpr); - pr += path->parent_r0; - jpr += path->parent_jr0; - ses_ir_u(&v, &jv, pc->a, pc->ja, pr, jpr); - pc->v = Bp->v - v; - pc->jv = Bp->jv - jv; + pc->v = p0->v - v; + pc->jv = p0->jv - jv; if (pc->v < p1->v) { + pr += path->parent_r0; + jpr += path->parent_jr0; + v = Bp->v - p1->v; jv = Bp->jv - p1->jv;