From 41976e3e85928ebdc24603ec0cae727174ad0c96 Mon Sep 17 00:00:00 2001 From: Helldragon67 Date: Fri, 10 Jan 2025 16:07:10 +0100 Subject: [PATCH] corrected timing --- backend/src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main.py b/backend/src/main.py index b7f796c..6d05911 100644 --- a/backend/src/main.py +++ b/backend/src/main.py @@ -116,7 +116,7 @@ def new_trip(preferences: Preferences, logger.debug(f'Generating landmarks : {round(t_generate_landmarks,3)} seconds') logger.debug(f'First stage optimization : {round(t_first_stage,3)} seconds') logger.debug(f'Second stage optimization : {round(t_second_stage,3)} seconds') - logger.info(f'Total computation time : {round(t_generate_landmarks + t_first_stage + t_generate_landmarks,3)} seconds') + logger.info(f'Total computation time : {round(t_generate_landmarks + t_first_stage + t_second_stage,3)} seconds') linked_tour = LinkedLandmarks(refined_tour) # upon creation of the trip, persistence of both the trip and its landmarks is ensured.