Skip to content

Commit

Permalink
Fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Misty-W committed Feb 9, 2024
1 parent 502ebfd commit 2a7a0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitiq/rem/inverse_confusion_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def sample_probability_vector(
# split the binary strings into an array of ints
bitstrings = (
np.apply_along_axis( # type: ignore
func1d=np.fromstring,
func1d=np.fromstring, # type: ignore
axis=1,
arr=binary_strings[:, None],
dtype="U1", # type: ignore
Expand Down

0 comments on commit 2a7a0ff

Please sign in to comment.