devices/vbic/vbicsetup.c, bug fix, incorrect states allocation
VBICnumSenStates is 10 not 8
This commit is contained in:
parent
181bc0cdd5
commit
dfbce23cae
|
|
@ -403,7 +403,7 @@ VBICsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
|
||||||
here->VBICstate = *states;
|
here->VBICstate = *states;
|
||||||
*states += VBICnumStates;
|
*states += VBICnumStates;
|
||||||
if(ckt->CKTsenInfo && (ckt->CKTsenInfo->SENmode & TRANSEN) ){
|
if(ckt->CKTsenInfo && (ckt->CKTsenInfo->SENmode & TRANSEN) ){
|
||||||
*states += 8 * (ckt->CKTsenInfo->SENparms);
|
*states += 10 * (ckt->CKTsenInfo->SENparms);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(model->VBICextCollResist == 0) {
|
if(model->VBICextCollResist == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue