From 3ab11859a5d0052aa2431a44032b2bf6c08a82e1 Mon Sep 17 00:00:00 2001 From: dfcarvajal Date: Wed, 7 Jan 2026 00:45:53 +0100 Subject: [PATCH] =?UTF-8?q?FIX:=20m=C3=A1ximo=20valor=20de=20demanda=20o?= =?UTF-8?q?=20tr=C3=A1fico=20para=20cobertura?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/placement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/placement.py b/src/core/placement.py index 06bf727..5f8fc22 100644 --- a/src/core/placement.py +++ b/src/core/placement.py @@ -54,7 +54,7 @@ def coverage_radius(expected_demand: float, traffic_level: int = 1) -> int: # Aplicar restricción de tráfico max_radius = get_max_radius_by_traffic(traffic_level) - return min(base_radius, max_radius) + return max(base_radius, max_radius) def get_coverage_weight(expected_demand: float) -> float: """