inp2q.c, #22/23, drop #ifdef, model_numnodes() does care about this
This commit is contained in:
parent
ac77e5b020
commit
9ad1a3033b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue