first empty cluster should start at 1
This commit is contained in:
parent
b24a6f0a07
commit
90a6cda9fe
|
@ -11,7 +11,7 @@ class ExampleClusters:
|
||||||
return key
|
return key
|
||||||
|
|
||||||
def _first_empty_cluster(self):
|
def _first_empty_cluster(self):
|
||||||
idx = 0
|
idx = 1
|
||||||
while True:
|
while True:
|
||||||
if idx not in self.idxs:
|
if idx not in self.idxs:
|
||||||
self._register_index(idx)
|
self._register_index(idx)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user