From d3f13edd4ab94ffd60f942948eb047c1584d68c7 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 47907538b..b483cfdf4 100644 --- a/src/spicelib/devices/vbic/vbicsetup.c +++ b/src/spicelib/devices/vbic/vbicsetup.c @@ -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) {