correct init the correlated noise slot

This commit is contained in:
dwarning 2011-06-26 12:59:13 +00:00
parent 461bd39008
commit bbe409fbd2
1 changed files with 6 additions and 1 deletions

View File

@ -129,7 +129,12 @@ double m;
};
for (; model != NULL; model = model->BSIM4nextModel)
{ for (here = model->BSIM4instances; here != NULL;
{
if(model->BSIM4tnoiMod != 2) {
noizDens[BSIM4CORLNOIZ] = 0.0;
lnNdens[BSIM4CORLNOIZ] = N_MINLOG;
}
for (here = model->BSIM4instances; here != NULL;
here = here->BSIM4nextInstance)
{ pParam = here->pParam;
switch (operation)