Skip to content

Commit

Permalink
Fixed mistake in rr_set_sink_locs, all nodes being skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Shreve committed Jul 10, 2024
1 parent a9d6ba1 commit 23c581f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/librrgraph/src/base/rr_graph_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void rr_set_sink_locs(const RRGraphView& rr_graph, RRGraphBuilder& rr_graph_buil

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

int node_layer = rr_graph.node_layer(node_id);
Expand Down

0 comments on commit 23c581f

Please sign in to comment.