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:
parent
923f7efab0
commit
1a97e1097f
|
|
@ -320,6 +320,8 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
here->VSRCcoeffs[here->VSRCrBreakpt];
|
here->VSRCcoeffs[here->VSRCrBreakpt];
|
||||||
time -= period * floor(time / period);
|
time -= period * floor(time / period);
|
||||||
} else {
|
} else {
|
||||||
|
value =
|
||||||
|
here->VSRCcoeffs[here->VSRCfunctionOrder - 1];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue