correct init the correlated noise slot
This commit is contained in:
parent
461bd39008
commit
bbe409fbd2
|
|
@ -129,7 +129,12 @@ double m;
|
||||||
};
|
};
|
||||||
|
|
||||||
for (; model != NULL; model = model->BSIM4nextModel)
|
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)
|
here = here->BSIM4nextInstance)
|
||||||
{ pParam = here->pParam;
|
{ pParam = here->pParam;
|
||||||
switch (operation)
|
switch (operation)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue