Browse Source

If there is a successful step, but the goal is not yet reached,

don't start with the minimum value of 1.00005, as this may last
forever. Restart with 3.
pre-master-46
Holger Vogt 2 years ago
parent
commit
5266a7c4bc
  1. 2
      src/spicelib/analysis/cktop.c

2
src/spicelib/analysis/cktop.c

@ -409,7 +409,7 @@ new_gmin(CKTcircuit* ckt, long int firstmode,
} }
if (iters > (3 * ckt->CKTdcTrcvMaxIter / 4)) if (iters > (3 * ckt->CKTdcTrcvMaxIter / 4))
factor = MAX(sqrt(factor), 1.00005);
factor = MAX(sqrt(factor), 3);
OldGmin = ckt->CKTgmin; OldGmin = ckt->CKTgmin;

Loading…
Cancel
Save