From: yu.dongliang <18588496441@163.com> Date: Wed, 15 Nov 2023 07:56:28 +0000 (+0800) Subject: __ses_path_va_transistor() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=a4a2e89b8e981a4b3913ed4806290e26e0a59a9d;p=ses.git __ses_path_va_transistor() --- diff --git a/ses_step_va_transistor.c b/ses_step_va_transistor.c index fc54c2a..0e36938 100644 --- a/ses_step_va_transistor.c +++ b/ses_step_va_transistor.c @@ -245,11 +245,11 @@ static int __ses_path_va_transistor(ScfEfunction* f, ses_path_t* path) pr += path->parent_r0; jpr += path->parent_jr0; - v = Bp->v - pj->v; - jv = Bp->jv - pj->jv; + v = Bp->v - Bn->v; + jv = Bp->jv - Bn->jv; - _pr = pc->pr + path->parent_r0; - _jpr = pc->jpr + path->parent_jr0; + _pr = pc->pr + path->parent_r0 + path->parent_r1; + _jpr = pc->jpr + path->parent_jr0 + path->parent_jr1; ses_ur_i(&pc->a, &pc->ja, v, jv, _pr, _jpr);