From 3ea412e7cd9d8bb27abf60cccd9634b1045f4eaf Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 12 Mar 2017 17:57:07 +0100 Subject: [PATCH] bug fix for commit "inp2q.c, #17/23, rewrite, using a 'for' loop" --- src/spicelib/parser/inp2q.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */