aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer_heap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/placer_heap.cc')
-rw-r--r--common/placer_heap.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc
index cea862af..eb931a37 100644
--- a/common/placer_heap.cc
+++ b/common/placer_heap.cc
@@ -331,8 +331,6 @@ class HeAPPlacer
return false;
}
- lock.unlock_early();
-
auto endtt = std::chrono::high_resolution_clock::now();
log_info("HeAP Placer Time: %.02fs\n", std::chrono::duration<double>(endtt - startt).count());
log_info(" of which solving equations: %.02fs\n", solve_time);
@@ -340,6 +338,7 @@ class HeAPPlacer
log_info(" of which strict legalisation: %.02fs\n", sl_time);
ctx->check();
+ lock.unlock_early();
if (!placer1_refine(ctx, Placer1Cfg(ctx))) {
return false;