Skip to content

Commit

Permalink
fix regression: AddOffGridVertices adds using nets to vertices, not n…
Browse files Browse the repository at this point in the history
…earby blocking ones
  • Loading branch information
growly committed Nov 15, 2024
1 parent af1bb50 commit b8510d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routing_grid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ void RoutingGrid::AddOffGridVerticesForBlockage(
if (!new_vertex) {
continue;
}
new_vertex->AddBlockingNet(blockage.shape().net(), is_temporary);
new_vertex->AddUsingNet(blockage.shape().net(), is_temporary);
new_vertex->set_explicit_net_layer(blockage.shape().layer());
// TODO(aryap): This actually requires a test on the blockage shape
// accommodating the encap rules as-is, which we could do, but which would
Expand Down

0 comments on commit b8510d4

Please sign in to comment.