Skip to content

Commit 0d7bad4

Browse files
committed
🩹 linalg: fix missing np.dtype type arg
1 parent a695684 commit 0d7bad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scipy-stubs/linalg/_testutils.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class _FakeMatrix(Generic[_ScalarT, _ShapeT]): # undocumented
1919
class _FakeMatrix2(Generic[_ScalarT, _ShapeT]): # undocumented
2020
_data: onp.ArrayND[_ScalarT, _ShapeT]
2121
def __init__(self, /, data: onp.ArrayND[_ScalarT, _ShapeT]) -> None: ...
22-
def __array__(self, /, dtype: np.dtype | None = None, copy: bool | None = None) -> onp.ArrayND[_ScalarT, _ShapeT]: ...
22+
def __array__(self, /, dtype: np.dtype[Any] | None = None, copy: bool | None = None) -> onp.ArrayND[_ScalarT, _ShapeT]: ...
2323

2424
def _get_array(shape: _ShapeT, dtype: type[_ScalarT]) -> onp.ArrayND[_ScalarT, _ShapeT]: ... # undocumented
2525
def _id(x: _T) -> _T: ... # undocumented

0 commit comments

Comments
 (0)