diff --git a/src/frontend/typesdef.c b/src/frontend/typesdef.c index c89fb1e71..00266038b 100644 --- a/src/frontend/typesdef.c +++ b/src/frontend/typesdef.c @@ -12,7 +12,6 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group #include "ngspice/ftedefs.h" #include "ngspice/dvec.h" #include "ngspice/sim.h" -#include "ngspice/tskdefs.h" #include "typesdef.h" @@ -360,7 +359,7 @@ com_stype(wordlist *wl) for (wl = wl->wl_next; wl; wl = wl->wl_next) { const char* vecname = wl->wl_word; - if (*vecname == '@'&& !ft_curckt->ci_curTask->jobs) { + if (*vecname == '@'&& !ft_curckt->ci_runonce) { fprintf(cp_err, "Warning: Vector %s is available only after the simulation has been run!\n", vecname); fprintf(cp_err, " Command 'settype %s %s' is ignored\n\n", type, vecname); continue;