From 6389065db0e18986b6145af1f6f8fdae4b16706c Mon Sep 17 00:00:00 2001 From: Remi Ehounou Date: Mon, 3 May 2021 18:04:26 -0400 Subject: [PATCH] corrected the str issue --- SourceCode/AlgorithmAnalyser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SourceCode/AlgorithmAnalyser.py b/SourceCode/AlgorithmAnalyser.py index 0289407..cf9e794 100644 --- a/SourceCode/AlgorithmAnalyser.py +++ b/SourceCode/AlgorithmAnalyser.py @@ -58,7 +58,7 @@ def measure(heuristicpath, heuristic_name, funcpath, funcname, objs, args, scale # ^^ The timer ends right above this; the CPU time is then calculated below by simple difference ^^ # Building the response - response = "The optimum point obtained is: " + str(best) + "\nThe CPU time of the process was: " + str((toc - tic)*(10**-9) + "Seconds") + response = "The optimum point obtained is: " + str(best) + "\nThe CPU time of the process was: " + str((toc - tic)*(10**-9)) + "Seconds" connection.send(response)