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 d981fb331b
commit d3f13edd4a
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,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) {