Browse Source

dctrcurv.c, #3/7, express the value of 'i' more verbosely

pre-master-46
rlar 10 years ago
parent
commit
f77485b081
  1. 5
      src/spicelib/analysis/dctrcurv.c

5
src/spicelib/analysis/dctrcurv.c

@ -87,6 +87,7 @@ DCtrCurv(CKTcircuit *ckt, int restart)
for (j = 0; j < 7; j++)
ckt->CKTdeltaOld[j] = ckt->CKTdelta;
/* i will be job->TRCVnestLevel + 1 when this loop is finished */
for (i = 0; i <= job->TRCVnestLevel; i++) {
if (rcode >= 0) {
@ -193,11 +194,11 @@ DCtrCurv(CKTcircuit *ckt, int restart)
/* gtri - end - wbk */
#endif
i--; /* PN: This seems to do nothing ??? */
error = CKTnames(ckt, &numNames, &nameList);
if (error) return(error);
i = job->TRCVnestLevel;
if (job->TRCVvType[i] == vcode)
SPfrontEnd->IFnewUid (ckt, &varUid, NULL, "v-sweep", UID_OTHER, NULL);
else {

Loading…
Cancel
Save