diff --git a/src/frontend/runcoms.c b/src/frontend/runcoms.c index 4ea2e4f2f..85fbdfd24 100644 --- a/src/frontend/runcoms.c +++ b/src/frontend/runcoms.c @@ -347,7 +347,8 @@ dosim( } /* execute the .measure statements */ - if ( !err && ft_curckt->ci_last_an) do_measure( ft_curckt->ci_last_an, FALSE ); + if ( !err && ft_curckt->ci_last_an && ft_curckt->ci_meas) + do_measure( ft_curckt->ci_last_an, FALSE ); return err; }