Skip to content

Commit

Permalink
drt: clang-tidy
Browse files Browse the repository at this point in the history
Signed-off-by: osamahammad21 <[email protected]>
  • Loading branch information
osamahammad21 committed Jul 22, 2024
1 parent 241bcec commit e0f76b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/drt/src/dr/FlexDR_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3472,8 +3472,9 @@ void FlexDRWorker::initMazeCost_planarTerm(const frDesign* design)
for (int i = 0; i < pin->getNumPinAccess(); i++) {
const auto& pa = pin->getPinAccess(i);
for (const auto& ap : pa->getAccessPoints()) {
if (ap->getLayerNum() != layerNum)
if (ap->getLayerNum() != layerNum) {
continue;
}
hasVerticalAccess |= ap->hasAccess(frDirEnum::N);
hasVerticalAccess |= ap->hasAccess(frDirEnum::S);
hasHorizontalAccess |= ap->hasAccess(frDirEnum::W);
Expand Down

0 comments on commit e0f76b6

Please sign in to comment.