[core] fixed a minor bug

This commit is contained in:
tangxifan 2024-07-04 12:52:29 -07:00
parent a717882304
commit a3723b33b3
1 changed files with 3 additions and 1 deletions

View File

@ -40,8 +40,10 @@ std::vector<e_side> find_grid_module_pin_sides(
std::vector<e_side> pin_sides;
pin_sides.reserve(3);
for (e_side pin_side : {TOP, RIGHT, BOTTOM, LEFT}) {
if (pin_side != border_side) {
pin_sides.push_back(pin_side);
}
}
return pin_sides;
}