Skip to content

Commit

Permalink
Fix a small bug (#384)
Browse files Browse the repository at this point in the history
Co-authored-by: grace-harper <[email protected]>
  • Loading branch information
inmzhang and grace-harper authored Sep 19, 2023
1 parent a8ada5e commit 5e101bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qiskit_qec/linear/symplectic.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ def _build_hyper_partner(matrix, index: int) -> np.ndarray:
for i in range(ncols):
if heads[i] == 1:
result[i] = trans_e_index[pivot]
pivot = +1
pivot += 1

return result

Expand Down

0 comments on commit 5e101bc

Please sign in to comment.