From aab3958459723ee9873a23a5e58945537a1af1e5 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 6 Nov 2024 10:30:00 +0100 Subject: [PATCH] In batch mode: if transient simulation fails with 'Timestep too small', still fill in the number of points in the raw file. Fixes bug no 714. --- src/spicelib/analysis/dctran.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/spicelib/analysis/dctran.c b/src/spicelib/analysis/dctran.c index 9915e0836..e83143318 100644 --- a/src/spicelib/analysis/dctran.c +++ b/src/spicelib/analysis/dctran.c @@ -980,6 +980,9 @@ resume: } else { UPDATE_STATS(DOING_TRAN); errMsg = CKTtrouble(ckt, "Timestep too small"); + SPfrontEnd->OUTendPlot(job->TRANplot); + job->TRANplot = NULL; + UPDATE_STATS(0); return(E_TIMESTEP); } }