From 78c4a51d2a5bcd28563615300bf24b2d53e69daf Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 27 Nov 2019 00:31:24 +0100 Subject: [PATCH] allow 'dc TEMP 10 20 1' as well as 'dc temp 10 20 1' --- src/spicelib/analysis/dctrcurv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/analysis/dctrcurv.c b/src/spicelib/analysis/dctrcurv.c index 1e25baca2..c373160a7 100644 --- a/src/spicelib/analysis/dctrcurv.c +++ b/src/spicelib/analysis/dctrcurv.c @@ -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->TRCVvType[i] = TEMP_CODE; /* Set the sweep type code */ ckt->CKTtemp = job->TRCVvStart[i] + CONSTCtoK; /* Set the new circuit temp */