Don't switch display to "op", if called from a dc simulation.

This commit is contained in:
Holger Vogt 2023-12-22 18:16:26 +01:00
parent 03905433bb
commit db5e5b08eb
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ CKTop (CKTcircuit *ckt, long int firstmode, long int continuemode,
int converged;
#ifdef HAS_PROGREP
if (!ckt->CKTnoOpIter || ckt->CKTnumGminSteps >= 1 || ckt->CKTnumSrcSteps >= 1)
/* If this is called from dc simulation, don't set "op" */
if (ckt->CKTcurJob->JOBtype != 2 && (!ckt->CKTnoOpIter || ckt->CKTnumGminSteps >= 1 || ckt->CKTnumSrcSteps >= 1))
SetAnalyse("op", 0);
#endif