inp2q.c, #13/23, move code down

This commit is contained in:
rlar 2017-03-10 18:34:55 +01:00
parent d2d9bffed0
commit ef37e92338
1 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,6 @@ void INP2Q(CKTcircuit *ckt, INPtables * tab, card * current, CKTnode *gnode)
current->error = INPgetMod(ckt, model, &thismodel, tab);
#ifdef ADMS
} else {
nodeflag = 5; /* now specify a 5 node device */
nname[i] = model;
INPtermInsert(ckt, &nname[i], tab, &node[i]);
i = 5;
@ -121,6 +120,9 @@ void INP2Q(CKTcircuit *ckt, INPtables * tab, card * current, CKTnode *gnode)
#endif
}
if (i == 5)
nodeflag = 5;
#ifdef TRACE
printf("INP2Q: Looking up model\n");
#endif