Browse Source

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

pre-master-46
Holger Vogt 2 years ago
parent
commit
db5e5b08eb
  1. 3
      src/spicelib/analysis/cktop.c

3
src/spicelib/analysis/cktop.c

@ -30,7 +30,8 @@ CKTop (CKTcircuit *ckt, long int firstmode, long int continuemode,
int converged; int converged;
#ifdef HAS_PROGREP #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); SetAnalyse("op", 0);
#endif #endif

Loading…
Cancel
Save