aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-24 09:21:52 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-24 09:21:52 -0700
commit4920cf18fa1128758dac2ffd12bf88d194863f17 (patch)
treea5fad926f82c06e212a9538d7a959069ea6a3d5b
parent7b4c5594edc9d91996da194b880458b415f5c143 (diff)
downloadnextpnr-4920cf18fa1128758dac2ffd12bf88d194863f17.tar.gz
nextpnr-4920cf18fa1128758dac2ffd12bf88d194863f17.tar.bz2
nextpnr-4920cf18fa1128758dac2ffd12bf88d194863f17.zip
improved is only set if we get a better metric, remove commented code
-rw-r--r--common/placer1.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/placer1.cc b/common/placer1.cc
index 461fc4e8..77e33f5b 100644
--- a/common/placer1.cc
+++ b/common/placer1.cc
@@ -387,8 +387,6 @@ class SAPlacer
// SA acceptance criterea
if (delta < 0 || (temp > 1e-6 && (ctx->rng() / float(0x3fffffff)) <= std::exp(-delta / temp))) {
n_accept++;
- //if (delta < 2)
- // improved = true;
} else {
if (other != IdString())
ctx->unbindBel(oldBel);