mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-04 23:54:53 +00:00
improved is only set if we get a better metric, remove commented code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user