set maxstepsize to stepsize

This commit is contained in:
Holger Vogt 2020-05-24 20:06:56 +02:00
parent ecdb3b9eb4
commit 3956095484
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ OPtran(CKTcircuit *ckt)
ckt->CKTstep = opfinaltime / 1000.;
}
#else
ckt->CKTstep = opstepsize;
ckt->CKTmaxStep = ckt->CKTstep = opstepsize;
#endif
delta=MIN(opfinaltime/100,ckt->CKTstep)/10;