From 1a8d2751bf9a5ed32c0b8e45a4db5eba04be1e2b 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; - +