From dff063fd5691b6a7cb19edcde32d5c023ffcdb2a Mon Sep 17 00:00:00 2001 From: pnenzi Date: Wed, 25 Apr 2001 18:15:17 +0000 Subject: [PATCH] Corrected an error in instance structure. Now should work. --- src/spicelib/devices/bsim3/bsim3def.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/spicelib/devices/bsim3/bsim3def.h b/src/spicelib/devices/bsim3/bsim3def.h index 503760afe..0ec5a05f4 100644 --- a/src/spicelib/devices/bsim3/bsim3def.h +++ b/src/spicelib/devices/bsim3/bsim3def.h @@ -21,6 +21,8 @@ typedef struct sBSIM3instance struct sBSIM3instance *BSIM3nextInstance; IFuid BSIM3name; int BSIM3owner; /* number of owner process */ + int BSIM3states; /* index into state table for this device */ + int BSIM3dNode; int BSIM3gNode; int BSIM3sNode; @@ -154,7 +156,7 @@ typedef struct sBSIM3instance double *BSIM3SPqPtr; double *BSIM3BqPtr; - int BSIM3states; /* index into state table for this device */ + #define BSIM3vbd BSIM3states+ 0 #define BSIM3vbs BSIM3states+ 1 #define BSIM3vgs BSIM3states+ 2