Fix the overlap in state vector for sensitivity states of diode and bjt model.
This commit is contained in:
parent
e1afc5cf09
commit
ee6cd951cd
|
|
@ -380,12 +380,12 @@ typedef struct sBJTinstance {
|
|||
|
||||
#define BJTnumStates 33
|
||||
|
||||
#define BJTsensxpbe BJTstate+24 /* charge sensitivities and their
|
||||
derivatives. +25 for the derivatives -
|
||||
#define BJTsensxpbe BJTstate+33 /* charge sensitivities and their
|
||||
derivatives. +34 for the derivatives -
|
||||
pointer to the beginning of the array */
|
||||
#define BJTsensxpbc BJTstate+26
|
||||
#define BJTsensxpsub BJTstate+28
|
||||
#define BJTsensxpbx BJTstate+30
|
||||
#define BJTsensxpbc BJTstate+35
|
||||
#define BJTsensxpsub BJTstate+37
|
||||
#define BJTsensxpbx BJTstate+39
|
||||
|
||||
#define BJTnumSenStates 8
|
||||
|
||||
|
|
|
|||
|
|
@ -265,8 +265,8 @@ typedef struct sDIOinstance {
|
|||
|
||||
#define DIOnumStates 15
|
||||
|
||||
#define DIOsensxp DIOstate+12 /* charge sensitivities and their derivatives.
|
||||
* +10 for the derivatives - pointer to the
|
||||
#define DIOsensxp DIOstate+15 /* charge sensitivities and their derivatives.
|
||||
* +16 for the derivatives - pointer to the
|
||||
* beginning of the array */
|
||||
|
||||
#define DIOnumSenStates 2
|
||||
|
|
|
|||
Loading…
Reference in New Issue