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:
parent
d86a0c77cb
commit
5266a7c4bc
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue