From 5c5f43d122889e4b15ced2ab9e778b4b6d2c756f Mon Sep 17 00:00:00 2001 From: dwarning Date: Fri, 13 Mar 2020 19:16:57 +0100 Subject: [PATCH] VDMOS safe Temp init --- src/spicelib/devices/vdmos/vdmosload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spicelib/devices/vdmos/vdmosload.c b/src/spicelib/devices/vdmos/vdmosload.c index 783a0309e..817d7d08b 100644 --- a/src/spicelib/devices/vdmos/vdmosload.c +++ b/src/spicelib/devices/vdmos/vdmosload.c @@ -104,6 +104,7 @@ VDMOSload(GENmodel *inModel, CKTcircuit *ckt) for (here = VDMOSinstances(model); here != NULL; here = VDMOSnextInstance(here)) { + Temp = here->VDMOStemp; selfheat = (here->VDMOSthermalGiven) && (model->VDMOSrthjcGiven); if (selfheat) Check_th = 1;