Skip to content

Commit

Permalink
ifp: fix clang-tidy
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Liberty <[email protected]>
  • Loading branch information
maliberty committed Jan 31, 2024
1 parent ee1870c commit 62ce576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ifp/src/InitFloorplan.cc
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ int InitFloorplan::getOffset(dbSite* base_hybrid_site,
}
// Ensure the full pattern matches from this starting point
int pos = it - base_pattern.begin();
for (const auto site_orient : pattern) {
for (const auto& site_orient : pattern) {
if (site_orient != base_pattern[pos++ % base_pattern.size()]) {
return false;
}
Expand Down

0 comments on commit 62ce576

Please sign in to comment.