From bdcd7dc1a7c877435d52f688bfffae6726028c80 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 21 Dec 2013 12:57:02 +0100 Subject: [PATCH] inp.c: evaluate for 'temper' only the models which have been entered into the hash table ckt->MODnameHash --- src/frontend/inp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/inp.c b/src/frontend/inp.c index 67454df70..39da40dcd 100644 --- a/src/frontend/inp.c +++ b/src/frontend/inp.c @@ -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);