mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-08 06:07:32 +02:00
Correct vgs assignment - bug found by K. OHara
This commit is contained in:
@@ -32,7 +32,7 @@ VDMOSconvTest(GENmodel *inModel, CKTcircuit *ckt)
|
||||
here = VDMOSnextInstance(here)) {
|
||||
|
||||
vgs = model->VDMOStype * (
|
||||
*(ckt->CKTrhs+here->VDMOSgNode) -
|
||||
*(ckt->CKTrhs+here->VDMOSgNodePrime) -
|
||||
*(ckt->CKTrhs+here->VDMOSsNodePrime));
|
||||
vds = model->VDMOStype * (
|
||||
*(ckt->CKTrhs+here->VDMOSdNodePrime) -
|
||||
|
||||
Reference in New Issue
Block a user