Skip to content

Commit 7d6fe26

Browse files
committed
mpl: update isValid use on calNotchPenalty
Signed-off-by: João Mai <[email protected]>
1 parent e9203bd commit 7d6fe26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpl/src/SACoreSoftMacro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ void SACoreSoftMacro::calNotchPenalty()
540540

541541
// If the floorplan is not valid
542542
// We think the entire floorplan is a "huge" notch
543-
if (!isValid(outline_)) {
543+
if (!isValid()) {
544544
width = std::max(width_, outline_.getWidth());
545545
height = std::max(height_, outline_.getHeight());
546546
notch_penalty_ = calSingleNotchPenalty(width, height);

0 commit comments

Comments
 (0)