From 8fc3cd50fcd59360ddc50066dad2aee921936cc6 Mon Sep 17 00:00:00 2001 From: Gabriel Gouvine Date: Wed, 31 Jan 2024 15:47:42 +0100 Subject: [PATCH] Normalize cell distance by average cell length during global placer report --- src/place_global/place_global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/place_global/place_global.cpp b/src/place_global/place_global.cpp index 26152dc..da819d5 100644 --- a/src/place_global/place_global.cpp +++ b/src/place_global/place_global.cpp @@ -162,7 +162,7 @@ void GlobalPlacer::run() { ub = valueUB(); std::cout << std::defaultfloat << std::setprecision(4) << "\tUB " << ub; - float dist = leg_.meanDistance(); + float dist = leg_.meanDistance() / averageCellLength_; std::cout << std::fixed << std::setprecision(1) << "\tDist " << dist; std::cout << std::flush;