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.
This commit is contained in:
Holger Vogt 2024-01-14 11:16:45 +01:00
parent d86a0c77cb
commit 5266a7c4bc
1 changed files with 1 additions and 1 deletions

View File

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