Browse Source

cktsetup.c, invoke `SetAnalyse("Device Setup",...)' only once

pre-master-46
h_vogt 10 years ago
committed by rlar
parent
commit
f52a12a95a
  1. 5
      src/spicelib/analysis/cktsetup.c

5
src/spicelib/analysis/cktsetup.c

@ -69,10 +69,11 @@ CKTsetup(CKTcircuit *ckt)
printf("OpenMP: %d threads are requested in ngspice\n", nthreads);*/ printf("OpenMP: %d threads are requested in ngspice\n", nthreads);*/
#endif #endif
for (i=0;i<DEVmaxnum;i++) {
#ifdef HAS_PROGREP #ifdef HAS_PROGREP
SetAnalyse( "Device Setup", 0 );
SetAnalyse("Device Setup", 0);
#endif #endif
for (i=0;i<DEVmaxnum;i++) {
if ( DEVices[i] && DEVices[i]->DEVsetup && ckt->CKThead[i] ) { if ( DEVices[i] && DEVices[i]->DEVsetup && ckt->CKThead[i] ) {
error = DEVices[i]->DEVsetup (matrix, ckt->CKThead[i], ckt, error = DEVices[i]->DEVsetup (matrix, ckt->CKThead[i], ckt,
&ckt->CKTnumStates); &ckt->CKTnumStates);

Loading…
Cancel
Save