Skip to content

Commit 44c98b8

Browse files
committed
Removed the strict typing on diagonal offsets
1 parent 6c7a90b commit 44c98b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scipy-stubs/sparse/_construct.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ _FmtLIL: TypeAlias = Literal["lil"]
7979
_FmtNonCOO: TypeAlias = Literal["bsr", "csc", "csr", "dia", "dok", "lil"]
8080

8181
_Diag: TypeAlias = _ToArray1D[_SCT] | _ToArray2D[_SCT]
82-
_Offsets: TypeAlias = onp.ToInt | onp.ToIntStrict1D
82+
_Offsets: TypeAlias = onp.ToInt | onp.ToInt1D
8383

8484
_DataRVS: TypeAlias = Callable[[int], onp.ArrayND[_Numeric]]
8585

0 commit comments

Comments
 (0)