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:
parent
4000dd758f
commit
e082bf8c77
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue