reply commit e5c162f1: dc sweep fails after transient sim

This commit is contained in:
dwarning 2025-09-02 10:10:33 +02:00 committed by Holger Vogt
parent 94b193ad91
commit 2c9c2c20c4
1 changed files with 4 additions and 0 deletions

View File

@ -4604,6 +4604,10 @@ line755:
if (!ChargeComputationNeeded)
goto line850;
/* no integration, if dc sweep, but keep evaluating capacitances */
if (ckt->CKTmode & MODEDCTRANCURVE)
goto line850;
if (ckt->CKTmode & MODEINITTRAN)
{ *(ckt->CKTstate1 + here->BSIM4qb) =
*(ckt->CKTstate0 + here->BSIM4qb);