diff --git a/scipy-stubs/sparse/_typing.pyi b/scipy-stubs/sparse/_typing.pyi index c50040d6..191a85da 100644 --- a/scipy-stubs/sparse/_typing.pyi +++ b/scipy-stubs/sparse/_typing.pyi @@ -75,7 +75,7 @@ ToShape3dNd: TypeAlias = tuple[op.CanIndex, op.CanIndex, op.CanIndex, Unpack[tup Shape: TypeAlias = onp.AtLeast1D ShapeBSR: TypeAlias = tuple[int, int] ShapeCOO: TypeAlias = onp.AtLeast1D -ShapeCSC: TypeAlias = onp.AtLeast2D +ShapeCSC: TypeAlias = tuple[int, int] ShapeCSR: TypeAlias = tuple[int, int] | tuple[int] ShapeDIA: TypeAlias = tuple[int, int] ShapeDOK: TypeAlias = tuple[int, int] | tuple[int]