Skip to content

Commit 690f523

Browse files
authored
Merge pull request #7941 from The-OpenROAD-Project-staging/grt-fix-graph2d
grt: fix an H/V mixup in the Graph2D refactor
2 parents 7616966 + 9c354af commit 690f523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grt/src/fastroute/src/maze.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,7 +2010,7 @@ int FastRouteCore::getOverflow2D(int* maxOverflow)
20102010
}
20112011

20122012
for (const auto& [x, y] : graph2d_.getUsedGridsV()) {
2013-
total_usage += graph2d_.getEstUsageH(x, y);
2013+
total_usage += graph2d_.getEstUsageV(x, y);
20142014
const int overflow = graph2d_.getEstUsageV(x, y) - graph2d_.getCapV(x, y);
20152015
vCap += graph2d_.getCapV(x, y);
20162016
if (overflow > 0) {

0 commit comments

Comments
 (0)