diff --git a/src/spicelib/parser/inp2q.c b/src/spicelib/parser/inp2q.c index df63507b3..4b8b8106f 100644 --- a/src/spicelib/parser/inp2q.c +++ b/src/spicelib/parser/inp2q.c @@ -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 */