Corrected a problem with extresist in which node names are not

transferred when doing a node merge, which can cause named
terminals to get lost, because there is no longer a node with
a name corresponding to the terminal.  The node gets a default
name which is not the terminal name, and the netlist is broken.
This commit is contained in:
Tim Edwards 2022-05-02 17:49:42 -04:00
parent 4000dd758f
commit e082bf8c77
1 changed files with 3 additions and 0 deletions

View File

@ -742,6 +742,9 @@ ResMergeNodes(node1, node2, pendingList, doneList)
node1->rn_ce = tCon;
}
/* Moves name to new node, if new node does not have a name */
if (node1->rn_name == NULL) node1->rn_name = node2->rn_name;
/* Moves resistors to new node */
workingRes = node2->rn_re;