devices/vbic/vbicsetup.c, bug fix, incorrect states allocation

VBICnumSenStates is 10 not 8
This commit is contained in:
rlar 2018-04-15 08:42:02 +02:00
parent 181bc0cdd5
commit dfbce23cae
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ VBICsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
here->VBICstate = *states;
*states += VBICnumStates;
if(ckt->CKTsenInfo && (ckt->CKTsenInfo->SENmode & TRANSEN) ){
*states += 8 * (ckt->CKTsenInfo->SENparms);
*states += 10 * (ckt->CKTsenInfo->SENparms);
}
if(model->VBICextCollResist == 0) {