inp2q.c, #4/23, transform boolean expression

This commit is contained in:
rlar 2017-03-09 21:37:17 +01:00
parent 042916ae88
commit b0fe181f12
1 changed files with 4 additions and 3 deletions

View File

@ -133,9 +133,10 @@ void INP2Q(CKTcircuit *ckt, INPtables * tab, card * current, CKTnode *gnode)
return; return;
} }
#ifdef ADMS #ifdef ADMS
if ((nodeflag > 4 && (thismodel->INPmodType != INPtypelook("hicum0"))) if (nodeflag > 4 &&
&& (nodeflag > 4 && (thismodel->INPmodType != INPtypelook("hicum2"))) !(thismodel->INPmodType == INPtypelook("hicum0") ||
&& (nodeflag > 4 && (thismodel->INPmodType != INPtypelook("bjt504t")))) thismodel->INPmodType == INPtypelook("hicum2") ||
thismodel->INPmodType == INPtypelook("bjt504t")))
{ {
LITERR("Too much nodes for this model type"); LITERR("Too much nodes for this model type");
return; return;