inp.c: evaluate for 'temper' only the models which have

been entered into the hash table ckt->MODnameHash
This commit is contained in:
h_vogt 2013-12-21 12:57:02 +01:00 committed by rlar
parent 4e1c23780c
commit bdcd7dc1a7
1 changed files with 4 additions and 0 deletions

View File

@ -1553,6 +1553,10 @@ inp_evaluate_temper(void)
}
for(d = modtlist; d; d = d->next) {
/* only evaluate models which have been entered into the
hash table ckt->MODnameHash */
if (ft_sim->findModel (ft_curckt->ci_ckt, d->wl->wl_word) == NULL)
continue;
IFeval((IFparseTree *) d->pt, 1e-12, &result, NULL, NULL);
sprintf(fts, "%g", result);
d->wlend->wl_word = copy(fts);