From 8c9602574e78a0046a0c00d16a210545aa456d58 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 12 May 2023 16:59:27 +0200 Subject: [PATCH] Improve error messages --- src/spicelib/analysis/optran.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spicelib/analysis/optran.c b/src/spicelib/analysis/optran.c index 3f32263d2..6ec76128f 100644 --- a/src/spicelib/analysis/optran.c +++ b/src/spicelib/analysis/optran.c @@ -164,14 +164,14 @@ void com_optran(wordlist* wl) { if (err || (*stpstr != '\0')) goto bugquit; if (opstepsize > opfinaltime) { - fprintf(stderr, "Error: Step size larger than final time.\n"); + fprintf(stderr, "Error: Optran step size larger than final time.\n"); goto bugquit; } if (opstepsize > opfinaltime/50.) { - fprintf(stderr, "Warning: Step size potentially too small.\n"); + fprintf(stderr, "Warning: Optran step size potentially too small.\n"); } if (opramptime > opfinaltime) { - fprintf(stderr, "Error: Ramp time larger than final time.\n"); + fprintf(stderr, "Error: Optran ramp time larger than final time.\n"); goto bugquit; } /* optran deselected by setting opstepsize to 0 */