"Initial transient solution assumes voltage source=0 even if it is not."
Cause was another error in ad5bb9eb8d, fix for Bug #607, which uncovered
an earlier latent bug.
This commit is contained in:
Giles Atkinson 2024-10-08 08:53:03 +01:00 committed by Holger Vogt
parent 537d55d80b
commit e3f7cf3e0a
1 changed files with 1 additions and 2 deletions

View File

@ -320,9 +320,8 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
double end_time, itime; double end_time, itime;
time -= here->VSRCrdelay; time -= here->VSRCrdelay;
if (time < here->VSRCcoeffs[0]) { if (time <= here->VSRCcoeffs[0]) {
value = here->VSRCcoeffs[1]; value = here->VSRCcoeffs[1];
value = value;
break; break;
} }