Skip to content

Commit 12d1cf3

Browse files
committed
pdn: correct ?
Signed-off-by: Peter Gadfort <[email protected]>
1 parent e12cfa1 commit 12d1cf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pdn/src/via.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,9 +1973,9 @@ void ViaGenerator::determineRowsAndColumns(
19731973

19741974
for (const auto& [rule_cuts, rule_spacing] :
19751975
rule->getCutsArraySpacing()) {
1976-
if (rule_cuts > array_size_min + rule->isLongArray() ? 1 : 0) {
1977-
// this rules does not apply because the smaller dimension of the array is
1978-
// less than the rule
1976+
if (rule_cuts > array_size_min + (rule->isLongArray() ? 1 : 0)) {
1977+
// this rules does not apply because the smaller dimension of the
1978+
// array is less than the rule
19791979
continue;
19801980
}
19811981

0 commit comments

Comments
 (0)