Skip to content

Commit

Permalink
Placer: Fix static legalise radius (#1382)
Browse files Browse the repository at this point in the history
  • Loading branch information
meiniKi authored Oct 8, 2024
1 parent 0e5b134 commit d27993f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/place/placer_static.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ class StaticPlacer
total_iters_noreset++;
if (total_iters > int(ccells.size())) {
total_iters = 0;
ripup_radius = std::max(std::max(width + 1, height + 1), ripup_radius * 2);
ripup_radius = std::min(std::max(width + 1, height + 1), ripup_radius * 2);
}

if (total_iters_noreset > std::max(5000, 8 * int(ctx->cells.size()))) {
Expand Down

0 comments on commit d27993f

Please sign in to comment.