Improve commant

This commit is contained in:
Holger Vogt 2019-07-27 17:56:05 +02:00
parent 9b28a951d2
commit 30565e45c4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ int TRANinit(CKTcircuit *ckt, JOB *anal)
ckt->CKTmaxStep = job->TRANmaxStep;
/* Maximum step size is limited to tstep given by .tran tstep tstop <tstart <tmax>>.
May be overridden by giving 'set nostepsizelimit' to (tstop - tstart)/50.
May be overridden to a value (tstop - tstart)/50 by 'set nostepsizelimit'.
Both may be overriden by setting tmax. */
if(ckt->CKTmaxStep == 0) {
if ((ckt->CKTstep < ( ckt->CKTfinalTime - ckt->CKTinitTime )/50.0) && !cp_getvar("nostepsizelimit", CP_BOOL, NULL, 0))