indentation

This commit is contained in:
dwarning 2012-08-04 16:24:38 +02:00
parent 713091ea22
commit 2516a118a3
2 changed files with 9 additions and 9 deletions

View File

@ -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) {

View File

@ -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;