no double count of area for capacitances

This commit is contained in:
dwarning 2012-07-04 22:41:56 +02:00
parent dcc22ada60
commit c9b729032d
1 changed files with 2 additions and 2 deletions

View File

@ -332,8 +332,8 @@ next1: if (model->DIOsatSWCurGiven) { /* consider sidewall currents */
/*
* charge storage elements
*/
czero=here->DIOtJctCap*here->DIOarea;
czeroSW=here->DIOtJctSWCap*here->DIOpj;
czero=here->DIOtJctCap;
czeroSW=here->DIOtJctSWCap;
if (vd < here->DIOtDepCap){
arg=1-vd/here->DIOtJctPot;
argSW=1-vd/here->DIOtJctSWPot;