bug fix for commit "inp2q.c, #17/23, rewrite, using a 'for' loop"
This commit is contained in:
parent
c3a92e2bb3
commit
3ea412e7cd
|
|
@ -38,10 +38,10 @@ void INP2Q(CKTcircuit *ckt, INPtables * tab, card * current, CKTnode *gnode)
|
||||||
char *line; /* the part of the current line left to parse */
|
char *line; /* the part of the current line left to parse */
|
||||||
char *name; /* the resistor's name */
|
char *name; /* the resistor's name */
|
||||||
#ifdef ADMS
|
#ifdef ADMS
|
||||||
const int max_i = 4;
|
const int max_i = 5;
|
||||||
CKTnode *node[5];
|
CKTnode *node[5];
|
||||||
#else
|
#else
|
||||||
const int max_i = 5;
|
const int max_i = 4;
|
||||||
CKTnode *node[4];
|
CKTnode *node[4];
|
||||||
#endif
|
#endif
|
||||||
int error; /* error code temporary */
|
int error; /* error code temporary */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue