Skip to content

Commit

Permalink
test useless supression
Browse files Browse the repository at this point in the history
  • Loading branch information
purva-thakre committed Oct 30, 2023
1 parent 3e67401 commit a07e214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toqito/matrices/gell_mann.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ def gell_mann(ind: int, is_sparse: bool = False) -> np.ndarray | scipy.sparse.cs
raise ValueError("Gell-Mann index values can only be values from 0 to 8 (inclusive).")

if is_sparse:
gm_op = scipy.sparse.csr_matrix(gm_op) # pylint: disable=redefined-variable-type
gm_op = scipy.sparse.csr_matrix(gm_op)

return gm_op

0 comments on commit a07e214

Please sign in to comment.