From 68a79f7eee3fd02babd390345f77857f746d121e Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 7 Jan 2017 13:32:34 +0100 Subject: [PATCH] inp2m.c, INP2M(), bug fix, drop excess GENnode initialisation Thats done in CKTcrtElt() now, and avoids overwritting private device internal Node variables, which are expected to be initialised to zero (by TMALLOC) --- src/spicelib/parser/inp2m.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/spicelib/parser/inp2m.c b/src/spicelib/parser/inp2m.c index 038741380..2f32dc330 100644 --- a/src/spicelib/parser/inp2m.c +++ b/src/spicelib/parser/inp2m.c @@ -275,19 +275,13 @@ INP2M (CKTcircuit *ckt, INPtables * tab, card * current) (type == INPtypelook ("SOI3"))) { switch (nodeflag) { case 0: - fast->GENnode5 = -1; - fast->GENnode6 = -1; - fast->GENnode7 = -1; break; case 1: IFC (bindNode, (ckt, fast, 5, node5)); - fast->GENnode6 = -1; - fast->GENnode7 = -1; break; case 2: IFC (bindNode, (ckt, fast, 5, node5)); IFC (bindNode, (ckt, fast, 6, node6)); - fast->GENnode7 = -1; break; case 3: IFC (bindNode, (ckt, fast, 5, node5));