projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c032592
)
tmp
author
yu.dongliang
<18588496441@163.com>
Fri, 20 Oct 2023 03:05:41 +0000
(11:05 +0800)
committer
yu.dongliang
<18588496441@163.com>
Fri, 20 Oct 2023 03:05:41 +0000
(11:05 +0800)
ses_step_va_transistor.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_step_va_transistor.c
b/ses_step_va_transistor.c
index 66c38ff1cb726285b6d814a37c3fff98e8604882..564ba8fa62ff183c536794f81220e1f7b56d7821 100644
(file)
--- 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;