From dfbce23cae86ceabb8d65848cd3855f61dbba555 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 15 Apr 2018 08:42:02 +0200 Subject: [PATCH] devices/vbic/vbicsetup.c, bug fix, incorrect states allocation VBICnumSenStates is 10 not 8 --- src/spicelib/devices/vbic/vbicsetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/devices/vbic/vbicsetup.c b/src/spicelib/devices/vbic/vbicsetup.c index 5ce1c6ec4..9db9787ca 100644 --- a/src/spicelib/devices/vbic/vbicsetup.c +++ b/src/spicelib/devices/vbic/vbicsetup.c @@ -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) {