Merge pull request #8 from mmicko/fix-lock
Removes unnecessary unlock causing trouble with placer
This commit is contained in:
commit
97b16c6a5f
@ -193,7 +193,6 @@ class SAPlacer
|
|||||||
if (temp <= 1e-3 && n_no_progress >= 5) {
|
if (temp <= 1e-3 && n_no_progress >= 5) {
|
||||||
if (iter % 5 != 0)
|
if (iter % 5 != 0)
|
||||||
log_info(" at iteration #%d: temp = %f, cost = %f\n", iter, temp, double(curr_metric));
|
log_info(" at iteration #%d: temp = %f, cost = %f\n", iter, temp, double(curr_metric));
|
||||||
ctx->unlock();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user