correct init state vector for qth integration

This commit is contained in:
dwarning 2025-09-25 17:09:33 +02:00
parent c5dd1bd379
commit 931e223493
1 changed files with 4 additions and 0 deletions

View File

@ -492,6 +492,10 @@ next1:
}
if (selfheat)
{
if (ckt->CKTmode & MODEINITTRAN) {
*(ckt->CKTstate1 + here->DIOqth) =
*(ckt->CKTstate0 + here->DIOqth);
}
error = NIintegrate(ckt, &gcTt, &ceqqth, model->DIOcth0, here->DIOqth);
if (error) return(error);
if (ckt->CKTmode & MODEINITTRAN) {