From 27a2e8583ba1569b347e55ca6986370d9ce64db4 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Thu, 5 Sep 2019 12:37:32 -0700 Subject: [PATCH] Fix centroid bug --- clusterview/mode_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clusterview/mode_handlers.py b/clusterview/mode_handlers.py index 6afc402..a2d56f4 100644 --- a/clusterview/mode_handlers.py +++ b/clusterview/mode_handlers.py @@ -312,7 +312,7 @@ def __handle_choose_centroids(ctx, event): __handle_info_updates(ctx, event) - if __centroid_count == ctx.number_of_centroids.value: + if __centroid_count == ctx.number_of_centroids.value(): # We have specified the number of centroids required return