summaryrefslogtreecommitdiff
path: root/dashboard_website
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard_website')
-rw-r--r--dashboard_website/router.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard_website/router.py b/dashboard_website/router.py
index 731362a..f720b4e 100644
--- a/dashboard_website/router.py
+++ b/dashboard_website/router.py
@@ -272,7 +272,7 @@ def __minimize_route_time_diff(
# If the difference is greater than the time difference, move a coordinate from the longest route to the shortest route
if time_difference > time_diff:
# Move a coordinate from the longest route to the shortest route
- for _ in range(max(1,int(time_difference/0.12))): # roughly estimate how many points must be moved to equalize
+ for _ in range(max(1,int(time_difference/0.25))): # roughly estimate how many points must be moved to equalize
closest_coordinate = __find_closest_coordinates(
routes[active_indices[sorted_indices[-1]]], __mean_center(routes[sorted_indices[0]])
)[0]