From 1246c87ae25ca0cb65cadc2327e6be3d10d74a24 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 10 Dec 2025 16:45:01 +0100 Subject: [PATCH] Improve error message --- src/spicelib/analysis/hbsetp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spicelib/analysis/hbsetp.c b/src/spicelib/analysis/hbsetp.c index 830634dc6..0f54bbf86 100644 --- a/src/spicelib/analysis/hbsetp.c +++ b/src/spicelib/analysis/hbsetp.c @@ -36,7 +36,7 @@ HBsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) case HB_F2: if (value->rValue < 0.0) { - errMsg = copy("A negative second frequency is invalid for multitone HB"); + errMsg = copy("A negative second fundamental frequency is invalid for multitone HB"); job->HBFreq2 = 1.0; return(E_PARMVAL); } @@ -53,7 +53,7 @@ HBsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) static IFparm HBparms[] = { { "f1", HB_F1, IF_SET|IF_ASK|IF_REAL, "fundamental frequency" }, - { "f2", HB_F2, IF_SET|IF_ASK|IF_REAL, "second frequency" } + { "f2", HB_F2, IF_SET|IF_ASK|IF_REAL, "optional second fundamental frequency" } }; SPICEanalysis HBinfo = {