Skip to content

Commit 23c581f

Browse files
author
Nathan Shreve
committed
Fixed mistake in rr_set_sink_locs, all nodes being skipped
1 parent a9d6ba1 commit 23c581f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/librrgraph/src/base/rr_graph_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void rr_set_sink_locs(const RRGraphView& rr_graph, RRGraphBuilder& rr_graph_buil
152152

153153
// Skip "0x0" nodes; either the tile is 1x1, or we have seen the node on a previous call of this function
154154
// and its new location has already been set
155-
if ((node_xhigh - node_xlow) == 0 || (node_yhigh - node_ylow) == 0)
155+
if ((node_xhigh - node_xlow) == 0 && (node_yhigh - node_ylow) == 0)
156156
continue;
157157

158158
int node_layer = rr_graph.node_layer(node_id);

0 commit comments

Comments
 (0)