From ec088eb4bbdff05d3c6a16842b36e3cff15f752a Mon Sep 17 00:00:00 2001 From: rlar Date: Mon, 12 Mar 2018 20:44:05 +0100 Subject: [PATCH] ngspiceMODULEsetup.c.xml, allocate instance node too If an instance node is "optional" then we might need to allocate it ourself just the same as so called "internal" nodes. Notably in bsim6.va the optional thermal node might be needed when shmod is used, even if unconnected. --- src/spicelib/devices/adms/admst/ngspiceMODULEsetup.c.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/devices/adms/admst/ngspiceMODULEsetup.c.xml b/src/spicelib/devices/adms/admst/ngspiceMODULEsetup.c.xml index 7edba1a53..5fd893635 100644 --- a/src/spicelib/devices/adms/admst/ngspiceMODULEsetup.c.xml +++ b/src/spicelib/devices/adms/admst/ngspiceMODULEsetup.c.xml @@ -139,7 +139,7 @@ int $(module)setup (SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int * { int error; CKTnode *tmp; - +