Skip to content

Commit 65d7ff7

Browse files
committed
rsz: const int
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
1 parent e19f818 commit 65d7ff7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/rsz/src/RepairHold.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ bool RepairHold::repairHold(
7171
// Max buffer count as percent of design instance count.
7272
const float max_buffer_percent,
7373
const int max_passes,
74-
int max_iterations,
74+
const int max_iterations,
7575
const bool verbose)
7676
{
7777
bool repaired = false;
@@ -386,7 +386,7 @@ bool RepairHold::repairHold(VertexSeq& ends,
386386
const bool allow_setup_violations,
387387
const int max_buffer_count,
388388
const int max_passes,
389-
int max_iterations,
389+
const int max_iterations,
390390
const bool verbose)
391391
{
392392
bool repaired = false;

src/rsz/src/RepairSetup.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void RepairSetup::init()
8585
bool RepairSetup::repairSetup(const float setup_slack_margin,
8686
const double repair_tns_end_percent,
8787
const int max_passes,
88-
int max_iterations,
88+
const int max_iterations,
8989
const int max_repairs_per_pass,
9090
const bool verbose,
9191
const std::vector<MoveType>& sequence,
@@ -874,7 +874,7 @@ bool RepairSetup::terminateProgress(const int iteration,
874874
// This is a greedy opto that does not degrade WNS or TNS.
875875
void RepairSetup::repairSetupLastGasp(const OptoParams& params,
876876
int& num_viols,
877-
int max_iterations)
877+
const int max_iterations)
878878
{
879879
move_sequence.clear();
880880
if (!params.skip_vt_swap) {

0 commit comments

Comments
 (0)