From 0c2309bed8eb515bbe79ec1f661226c38dd5af5b Mon Sep 17 00:00:00 2001 From: pnenzi Date: Wed, 24 Sep 2003 10:15:07 +0000 Subject: [PATCH] Fixed resistance sweep. --- ChangeLog | 8 +++++++- src/spicelib/analysis/dctrcurv.c | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f5dda52d0..56c9a79b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-09-24 Paolo Nenzi + + * src/spicelib/analysis/dctrcurv.c: Fixed resistance sweep. First + point is now correct. A call to CKTtemp was needed in the first + point. + 2003-09-20 Paolo Nenzi * src/spicelib/devices/res/*, src/spicelib/analysis/nevalsrc.c, @@ -10,7 +16,7 @@ 2003-09-18 Paolo Nenzi - * src/spicelib/analysis/dctrcv.c: Corrected temperature sweep. + * src/spicelib/analysis/dctrcurv.c: Corrected temperature sweep. Initial temp was the circuit temperature and not the start value in the input line. There was a missing call to CKTtemp(). diff --git a/src/spicelib/analysis/dctrcurv.c b/src/spicelib/analysis/dctrcurv.c index 80df8d07e..cff59cc09 100644 --- a/src/spicelib/analysis/dctrcurv.c +++ b/src/spicelib/analysis/dctrcurv.c @@ -87,6 +87,7 @@ DCtrCurv(CKTcircuit *ckt, int restart) cv->TRCVvType[i] = rcode; here->RESresist = cv->TRCVvStart[i]; here->RESresGiven = 1; + CKTtemp(ckt); goto found; } }