mirror of
https://github.com/ejeanboris/MDAF.git
synced 2025-05-02 13:22:27 +00:00
corrected the str issue
This commit is contained in:
@ -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 ^^
|
# ^^ The timer ends right above this; the CPU time is then calculated below by simple difference ^^
|
||||||
|
|
||||||
# Building the response
|
# 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)
|
connection.send(response)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user