bug fix for commit "inp2q.c, #17/23, rewrite, using a 'for' loop"

This commit is contained in:
rlar 2017-03-12 17:57:07 +01:00
parent c3a92e2bb3
commit 3ea412e7cd
1 changed files with 2 additions and 2 deletions

View File

@ -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 *name; /* the resistor's name */
#ifdef ADMS
const int max_i = 4;
const int max_i = 5;
CKTnode *node[5];
#else
const int max_i = 5;
const int max_i = 4;
CKTnode *node[4];
#endif
int error; /* error code temporary */