Fix Bug #698 -
"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:
parent
537d55d80b
commit
e3f7cf3e0a
|
|
@ -320,9 +320,8 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
|
|||
double end_time, itime;
|
||||
|
||||
time -= here->VSRCrdelay;
|
||||
if (time < here->VSRCcoeffs[0]) {
|
||||
if (time <= here->VSRCcoeffs[0]) {
|
||||
value = here->VSRCcoeffs[1];
|
||||
value = value;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue