Fix another error in 9c71db3a72.
This commit is contained in:
parent
9099a922fd
commit
f4f2f41940
|
|
@ -319,6 +319,7 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
period = end_time -
|
period = end_time -
|
||||||
here->VSRCcoeffs[here->VSRCrBreakpt];
|
here->VSRCcoeffs[here->VSRCrBreakpt];
|
||||||
time -= period * floor(time / period);
|
time -= period * floor(time / period);
|
||||||
|
time += here->VSRCcoeffs[here->VSRCrBreakpt];
|
||||||
} else {
|
} else {
|
||||||
value =
|
value =
|
||||||
here->VSRCcoeffs[here->VSRCfunctionOrder - 1];
|
here->VSRCcoeffs[here->VSRCfunctionOrder - 1];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue