inpgmod.c, #13/15, shortcut #if CIDER

This commit is contained in:
rlar 2017-01-08 18:25:14 +01:00
parent a8ffd52c42
commit 0245f304ff
1 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,9 @@ create_model( CKTcircuit* ckt, INPmodel* modtmp, INPtables* tab )
error = INPparseNumMod( ckt, modtmp, tab, &err ); error = INPparseNumMod( ckt, modtmp, tab, &err );
if (error) if (error)
return error; return error;
} else { modtmp->INPmodLine->error = err;
return 0;
}
#endif #endif
/* parameter isolation, identification, binding */ /* parameter isolation, identification, binding */
@ -122,9 +124,7 @@ create_model( CKTcircuit* ckt, INPmodel* modtmp, INPtables* tab )
} }
FREE(parm); FREE(parm);
} }
#ifdef CIDER
}
#endif
modtmp->INPmodLine->error = err; modtmp->INPmodLine->error = err;
return 0; return 0;