Fix error in previous fix for Bug #607 -

"DC Source with Pulse stops pulsing half way through simulation".
Non-periodic PWL waveforms reverted to zero on termination.
This commit is contained in:
Giles Atkinson 2023-04-26 21:34:37 +01:00 committed by Holger Vogt
parent 923f7efab0
commit 1a97e1097f
1 changed files with 2 additions and 0 deletions

View File

@ -320,6 +320,8 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
here->VSRCcoeffs[here->VSRCrBreakpt];
time -= period * floor(time / period);
} else {
value =
here->VSRCcoeffs[here->VSRCfunctionOrder - 1];
break;
}
}