improved is only set if we get a better metric, remove commented code

This commit is contained in:
Eddie Hung 2018-07-24 09:21:52 -07:00
parent 7b4c5594ed
commit 4920cf18fa

View File

@ -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);