Skip to content

Commit 5d053d0

Browse files
committed
mpl: remove unused if statement at annealing
Signed-off-by: João Mai <[email protected]>
1 parent 8c9dac9 commit 5d053d0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/mpl/src/SimulatedAnnealingCore.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -747,12 +747,6 @@ void SimulatedAnnealingCore<T>::fastSA()
747747

748748
cost_list_.push_back(pre_cost);
749749
T_list_.push_back(temperature);
750-
751-
if (step == max_num_step_ - macros_.size() * 2) {
752-
packFloorplan();
753-
calPenalty();
754-
pre_cost = calNormCost();
755-
}
756750
}
757751

758752
packFloorplan();

0 commit comments

Comments
 (0)