Fix previous commit [acb7f2]

Allow frequency 0 Hz (make check will do agian).
This commit is contained in:
Holger Vogt 2023-09-11 22:48:50 +02:00
parent acb7f2cd97
commit daa58f4125
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ dot_ac(char *line, CKTcircuit *ckt, INPtables *tab, struct card *current,
pdef = TRUE;
parm = INPgetValue(ckt, &line, IF_REAL, tab); /* fstart */
startval = parm->rValue;
if (startval <= 0) {
if (startval < 0) {
pdef = TRUE;
startval = parm->rValue = 1.;
}