cktop.c, #9/14, shortcut

This commit is contained in:
rlar 2016-07-24 10:59:12 +02:00
parent a446d1e145
commit 3041936663
1 changed files with 2 additions and 3 deletions

View File

@ -41,14 +41,13 @@ CKTop (CKTcircuit * ckt, long int firstmode, long int continuemode,
/* gtri - end - wbk - add convergence problem reporting flags */
#endif
converged = NIiter (ckt, iterlim);
if (converged == 0)
return converged; /* successfull */
} else {
converged = 1; /* the 'go directly to gmin stepping' option */
}
if (converged == 0)
return converged;
/* no convergence on the first try, so we do something else */
/* first, check if we should try gmin stepping */