update alternate current to v1.5.0 (#8882)
This commit is contained in:
parent
78f94ecb2d
commit
7d56ee5d45
1 changed files with 3 additions and 3 deletions
|
|
@ -1347,9 +1347,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ WireNode wire = node.asWire();
|
+ WireNode wire = node.asWire();
|
||||||
+ findRoot(wire);
|
+ findRoot(wire);
|
||||||
+
|
+
|
||||||
+ // If the wire at the given position is not in an invalid state or is not
|
+ // If the wire at the given position is not in an invalid state
|
||||||
+ // part of a larger network, we can exit early.
|
+ // we can exit early.
|
||||||
+ if (!wire.searched || wire.connections.total == 0) {
|
+ if (!wire.searched) {
|
||||||
+ return;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue