Fix another error in 9c71db3a72.

This commit is contained in:
Giles Atkinson 2023-05-14 17:16:24 +01:00
parent 6c420525d0
commit 9c75367cfb
1 changed files with 1 additions and 0 deletions

View File

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