Fixed loadsnap problem of first timestep being very small

This commit is contained in:
stefanjones 2004-11-04 23:42:24 +00:00
parent 549e62497a
commit 4227934bea
1 changed files with 6 additions and 0 deletions

View File

@ -1166,6 +1166,12 @@ do {\
_foo(ckt->CKTdeltaList,double,-1);
_foo(ckt->CKTbreaks,double,ckt->CKTbreakSize);
if(ckt->CKTbreakSize == 2 && ckt->CKTbreaks[0] == ckt->CKTbreaks[1]) {
ckt->CKTbreaks[0] =
((TRANan *)((TSKtask *)ft_curckt->ci_curTask)->jobs)->TRANfinalTime;
ckt->CKTbreaks[1] =
((TRANan *)((TSKtask *)ft_curckt->ci_curTask)->jobs)->TRANfinalTime;
}
#if 0
_foo((TSKtask *)ft_curckt->ci_curTask,TSKtask,1);