first empty cluster should start at 1

This commit is contained in:
Ozbolt Menegatti 2020-04-22 14:21:04 +02:00
parent b24a6f0a07
commit 90a6cda9fe

View File

@ -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)