From 90a6cda9fe65898f8205c7cbdf4a752ffab1b8cc Mon Sep 17 00:00:00 2001 From: Ozbolt Menegatti Date: Wed, 22 Apr 2020 14:21:04 +0200 Subject: [PATCH] first empty cluster should start at 1 --- src/model/example_clusters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/example_clusters.py b/src/model/example_clusters.py index c0f0f26..bc95f4c 100644 --- a/src/model/example_clusters.py +++ b/src/model/example_clusters.py @@ -11,7 +11,7 @@ class ExampleClusters: return key def _first_empty_cluster(self): - idx = 0 + idx = 1 while True: if idx not in self.idxs: self._register_index(idx)