inp2q.c, #22/23, drop #ifdef, model_numnodes() does care about this

This commit is contained in:
rlar 2017-03-11 18:34:33 +01:00
parent ac77e5b020
commit 9ad1a3033b
1 changed files with 0 additions and 2 deletions

View File

@ -90,14 +90,12 @@ void INP2Q(CKTcircuit *ckt, INPtables * tab, card * current, CKTnode *gnode)
if (i == 4) {
nodeflag = 4;
#ifdef ADMS
if (5 == model_numnodes(thismodel->INPmodType)) {
char *token = copy("0");
node[4] = gnode; /* 4-terminal adms device - thermal node to ground */
INPtermInsert(ckt, &token, tab, &node[4]);
nodeflag = 5; /* now specify a 5 node device */
}
#endif
}
if (i == 5)