From 2a7a0ff08b109ccf60e454368c3eea80ffac58de Mon Sep 17 00:00:00 2001 From: Misty-W <82074193+Misty-W@users.noreply.github.com> Date: Fri, 9 Feb 2024 10:05:04 -0800 Subject: [PATCH] Fix mypy errors --- mitiq/rem/inverse_confusion_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitiq/rem/inverse_confusion_matrix.py b/mitiq/rem/inverse_confusion_matrix.py index c4e1f3f3f9..a679d46c3d 100644 --- a/mitiq/rem/inverse_confusion_matrix.py +++ b/mitiq/rem/inverse_confusion_matrix.py @@ -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