Skip to content

Commit ee713a3

Browse files
committed
Minor format changes
Signed-off-by: Drew Lewis <[email protected]>
1 parent 23acdab commit ee713a3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/rsz/src/BaseMove.cc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -994,14 +994,14 @@ LibertyCellSeq BaseMove::getSwappableCells(LibertyCell* base)
994994
}
995995
// Sort output to ensure deterministic order
996996
std::ranges::sort(buffer_sizes,
997-
[](LibertyCell const* c1, LibertyCell const* c2) {
998-
auto area1 = c1->area();
999-
auto area2 = c2->area();
1000-
if (area1 != area2) {
1001-
return area1 < area2;
1002-
}
1003-
return c1->id() < c2->id();
1004-
});
997+
[](LibertyCell const* c1, LibertyCell const* c2) {
998+
auto area1 = c1->area();
999+
auto area2 = c2->area();
1000+
if (area1 != area2) {
1001+
return area1 < area2;
1002+
}
1003+
return c1->id() < c2->id();
1004+
});
10051005
return buffer_sizes;
10061006
}
10071007
return resizer_->getSwappableCells(base);

src/rsz/src/SwapPinsMove.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void SwapPinsMove::equivCellPins(const LibertyCell* cell,
283283
ports.push_back(candidate_port);
284284
}
285285
}
286-
if (!seen_ports.empty()) { // If we added any ports sort them.
286+
if (!seen_ports.empty()) { // If we added any ports sort them.
287287
std::ranges::sort(ports,
288288
[](auto* p1, auto* p2) { return p1->id() < p2->id(); });
289289
}

src/rsz/src/SwapPinsMove.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
// Copyright (c) 2025-2025, The OpenROAD Authors
33

4+
#include <vector>
5+
46
#include "BaseMove.hh"
57
#include "sta/Liberty.hh"
68
#include "sta/UnorderedMap.hh"
79

8-
#include <vector>
9-
1010
namespace rsz {
1111

1212
using sta::ArcDelay;

0 commit comments

Comments
 (0)