cktop.c, #8/14, early leave

This commit is contained in:
rlar 2016-07-24 10:19:35 +02:00
parent 0482f57bb7
commit a446d1e145
1 changed files with 2 additions and 2 deletions

View File

@ -57,9 +57,9 @@ CKTop (CKTcircuit * ckt, long int firstmode, long int continuemode,
converged = dynamic_gmin(ckt, firstmode, continuemode, iterlim);
else
converged = spice3_gmin(ckt, firstmode, continuemode, iterlim);
if (converged == 0) /* If gmin-stepping worked... move out */
return (0);
}
if (converged == 0) /* If gmin-stepping worked... move out */
return (0);
/* ... otherwise try stepping sources ...
* now, we'll try source stepping - we scale the sources