Skip to content

Commit 48ca6cd

Browse files
committed
mpl: add const to util and dead_space
Signed-off-by: João Mai <[email protected]>
1 parent e083120 commit 48ca6cd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/mpl/src/hier_rtlmp.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,8 +1529,11 @@ void HierRTLMP::placeChildren(Cluster* parent, bool ignore_std_cell_area)
15291529
}
15301530
}
15311531
} else {
1532-
target_utils.push_back(1e6);
1533-
target_dead_spaces.push_back(0.99999);
1532+
const float target_util = 1e6;
1533+
const float target_dead_space = 0.99999;
1534+
1535+
target_utils.push_back(target_util);
1536+
target_dead_spaces.push_back(target_dead_space);
15341537
}
15351538

15361539
// Since target_util and target_dead_space are independent variables

0 commit comments

Comments
 (0)