allow 'dc TEMP 10 20 1' as well as 'dc temp 10 20 1'
This commit is contained in:
parent
ee5f4cfc29
commit
ac65968595
|
|
@ -140,7 +140,7 @@ DCtrCurv(CKTcircuit *ckt, int restart)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcmp(job->TRCVvName[i], "temp")) {
|
if (cieq(job->TRCVvName[i], "temp")) {
|
||||||
job->TRCVvSave[i] = ckt->CKTtemp; /* Saves the old circuit temperature */
|
job->TRCVvSave[i] = ckt->CKTtemp; /* Saves the old circuit temperature */
|
||||||
job->TRCVvType[i] = TEMP_CODE; /* Set the sweep type code */
|
job->TRCVvType[i] = TEMP_CODE; /* Set the sweep type code */
|
||||||
ckt->CKTtemp = job->TRCVvStart[i] + CONSTCtoK; /* Set the new circuit temp */
|
ckt->CKTtemp = job->TRCVvStart[i] + CONSTCtoK; /* Set the new circuit temp */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue