Browse Source

Noise simulation is buggy when using the KLU solver. Thus for now it is disabled.

Use 'option sparse' instead.
pre-master-46
Holger Vogt 2 years ago
parent
commit
d27b888f13
  1. 8
      src/spicelib/analysis/noisean.c

8
src/spicelib/analysis/noisean.c

@ -77,6 +77,14 @@ NOISEan(CKTcircuit* ckt, int restart)
/* gtri - end - wbk */
#endif
#ifdef KLU
if (ckt->CKTkluMODE) {
fprintf(stderr, "Error: Noise simulation is not (yet) supported with 'option KLU'.\n");
fprintf(stderr, " Use 'option sparse' instead.\n");
return(E_UNSUPP);
}
#endif
NOISEAN* job = (NOISEAN*)ckt->CKTcurJob;
GENinstance* inst = CKTfndDev(ckt, job->input);
bool frequequal = AlmostEqualUlps(job->NstartFreq, job->NstopFreq, 3);

Loading…
Cancel
Save