Skip to content

Commit

Permalink
Revert "limit loop"
Browse files Browse the repository at this point in the history
This reverts commit 8036e3c.
  • Loading branch information
quantumjim committed Feb 16, 2024
1 parent 1a28bf5 commit a41cc3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/qiskit_qec/decoders/hdrg_decoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,8 @@ def cluster(self, nodes: List):
self._create_new_cluster(node_index)

j = 0
while self.odd_cluster_roots and j < 2 * self.code.d * (self.code.T + 1):
while self.odd_cluster_roots and j < 2 * self.code.d * self.code.T:
self._grow_and_merge_clusters()
j += 1

# compile info into standard clusters dict
clusters = {}
Expand Down

0 comments on commit a41cc3d

Please sign in to comment.