diff --git a/ChangeLog b/ChangeLog index 4f477535b..f1dd7c229 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-12-30 Paolo Nenzi + * src/spicelib/devices/jfet/jfetpzld.c: gspr and gdpr were initialized + with Resist and not Conduct, corrected! + * src/spicelib/devices/hfet1/*: Added parallel multiplier and "dtemp" to the code. Added the pole-zero analysis and parallel code checks. Corrected a bug in the unsetup function that caused a segfault. diff --git a/src/spicelib/devices/jfet/jfetpzld.c b/src/spicelib/devices/jfet/jfetpzld.c index 41bb39c59..0edd6ded8 100644 --- a/src/spicelib/devices/jfet/jfetpzld.c +++ b/src/spicelib/devices/jfet/jfetpzld.c @@ -37,8 +37,8 @@ JFETpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) m = here->JFETm; - gdpr=model->JFETdrainResist * here->JFETarea; - gspr=model->JFETsourceResist * here->JFETarea; + gdpr=model->JFETdrainConduct * here->JFETarea; + gspr=model->JFETsourceConduct * here->JFETarea; gm= *(ckt->CKTstate0 + here->JFETgm) ; gds= *(ckt->CKTstate0 + here->JFETgds) ; ggs= *(ckt->CKTstate0 + here->JFETggs) ;