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:
parent
b0bc524b88
commit
ec088eb4bb
|
|
@ -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"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue