Browse Source

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

pre-master-46
rlar 9 years ago
parent
commit
3ea412e7cd
  1. 4
      src/spicelib/parser/inp2q.c

4
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 *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…
Cancel
Save