VDMOS return if NIintegrate fails

This commit is contained in:
dwarning 2020-03-15 09:45:50 +01:00
parent f429e0466d
commit a0f168e72e
1 changed files with 1 additions and 0 deletions

View File

@ -558,6 +558,7 @@ bypass:
if (selfheat)
{
error = NIintegrate(ckt, &gcTt, &ceqqth, 0.0, here->VDMOSqth);
if (error) return(error);
gcTt = model->VDMOScthj * ckt->CKTag[0];
ceqqth = *(ckt->CKTstate0 + here->VDMOScqth) - gcTt * delTemp;
}