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 committed Oct 2, 2023
1 parent ccb68d0 commit cb2f486
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 cb2f486

Please sign in to comment.