-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Panic on
SimpleReplace
with multiports (#1324)
Fixes #1323 This fix generalises the one from #1191. SimpleReplace was too eager in disconnecting/connecting edges to the replacement graph, and that caused issues when querying the neighbours of multiports. This gets resolved by delaying all new connections to the replacement until after we have computed all of them. We don't need to do explicit disconnections to the replaced subgraph, since the nodes get removed anyway. --------- Co-authored-by: Douglas Wilson <141026920+doug-q@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
136 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters