From 64affd3a792c667d22d0ca5bc6afa62c7f5a2680 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Fri, 20 Oct 2023 11:05:41 +0800 Subject: [PATCH] tmp --- ses_step_va_transistor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.25.1