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.
This commit is contained in:
rlar 2018-03-12 20:44:05 +01:00 committed by Holger Vogt
parent b0bc524b88
commit ec088eb4bb
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ int $(module)setup (SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *
{
int error;
CKTnode *tmp;
<admst:for-each select="node[location='internal']">
<admst:for-each select="node[location!='ground']">
<admst:variable name="info" select="no info"/>
<admst:for-each select="attribute[name='info']">
<admst:value-of select="value"/>