indentation
This commit is contained in:
parent
713091ea22
commit
2516a118a3
|
|
@ -46,8 +46,8 @@ CKTfndDev(CKTcircuit *ckt, int *type, GENinstance **fast, IFuid name, GENmodel *
|
|||
/* have device type, need to find model & device */
|
||||
/* look through all models */
|
||||
for (mods = ckt->CKThead[*type];
|
||||
mods != NULL ;
|
||||
mods = mods->GENnextModel)
|
||||
mods != NULL ;
|
||||
mods = mods->GENnextModel)
|
||||
{
|
||||
/* and all instances */
|
||||
if (modname == NULL || mods->GENmodName == modname) {
|
||||
|
|
|
|||
|
|
@ -228,13 +228,13 @@ INPgetModBin( CKTcircuit* ckt, char* name, INPmodel** model, INPtables* tab, cha
|
|||
&& modtmp->INPmodType != INPtypelook ("HiSIMHV")
|
||||
) continue; /* We left the loop if the model is not in the list */
|
||||
|
||||
if (modtmp->INPmodType < 0) { /* First check for illegal model type */
|
||||
/* illegal device type, so can't handle */
|
||||
*model = NULL;
|
||||
err = TMALLOC(char, 35 + strlen(name));
|
||||
(void) sprintf(err,"Unknown device type for model %s \n", name);
|
||||
return (err);
|
||||
} /* end of checking for illegal model */
|
||||
if (modtmp->INPmodType < 0) { /* First check for illegal model type */
|
||||
/* illegal device type, so can't handle */
|
||||
*model = NULL;
|
||||
err = TMALLOC(char, 35 + strlen(name));
|
||||
(void) sprintf(err,"Unknown device type for model %s \n", name);
|
||||
return (err);
|
||||
} /* end of checking for illegal model */
|
||||
|
||||
if ( parse_line( modtmp->INPmodLine->line, model_tokens, 4, parse_values, parse_found ) != TRUE )
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue