From 318b66b1a673af5efecffdc2eb7e303d4eb1612a Mon Sep 17 00:00:00 2001 From: Conrad Date: Sat, 26 May 2018 19:16:29 +0200 Subject: [PATCH] Bugfix for data generator Added data variable for call of main function --- src/algorithms/kmeansMkI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/kmeansMkI.py b/src/algorithms/kmeansMkI.py index 0753094..9376c7f 100644 --- a/src/algorithms/kmeansMkI.py +++ b/src/algorithms/kmeansMkI.py @@ -24,7 +24,7 @@ import multiprocessing # CODE # Main function of the algorithm -def kmeansmk1(clusters): +def kmeansmk1(clusters, data): print("Sorting data into " + str(clusters) + " clusters.") # Startup function for collecting necesarry data