From 14ae087ec531939dfd903e05478788f37375434e Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 14 Feb 2013 18:54:50 +0100 Subject: [PATCH] fix bug `#232 soi3cap.c: wrong array index alpha_args[2]' though incorrect, this didn't lead to misbehavior. http://sourceforge.net/p/ngspice/bugs/232/ --- src/spicelib/devices/soi3/soi3cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/devices/soi3/soi3cap.c b/src/spicelib/devices/soi3/soi3cap.c index a8ec1312a..9daec56c8 100644 --- a/src/spicelib/devices/soi3/soi3cap.c +++ b/src/spicelib/devices/soi3/soi3cap.c @@ -32,7 +32,7 @@ ngspice integration void SOI3cap(double vgB, double Phiplusvsb, double gammaB, double paramargs[10], - double Bfargs[2], double alpha_args[2], double psi_st0args[5], + double Bfargs[2], double alpha_args[5], double psi_st0args[5], double vGTargs[5], double psi_sLargs[5], double psi_s0args[5], double ldargs[5],