diff --git a/scipy-stubs/sparse/linalg/_eigen/arpack/arpack.pyi b/scipy-stubs/sparse/linalg/_eigen/arpack/arpack.pyi index 9c928492..9c39695d 100644 --- a/scipy-stubs/sparse/linalg/_eigen/arpack/arpack.pyi +++ b/scipy-stubs/sparse/linalg/_eigen/arpack/arpack.pyi @@ -26,13 +26,13 @@ class ArpackError(RuntimeError): def __init__(self, /, info: _KT, infodict: Mapping[_KT, str] = ...) -> None: ... class ArpackNoConvergence(ArpackError): - eigenvalues: Final[onp.Array1D[np.float64 | np.float128]] + eigenvalues: Final[onp.Array1D[np.float64 | np.complex128]] eigenvectors: Final[onp.Array2D[np.float64]] def __init__( self, /, msg: str, - eigenvalues: onp.Array1D[np.float64 | np.float128], + eigenvalues: onp.Array1D[np.float64 | np.complex128], eigenvectors: onp.Array2D[np.float64], ) -> None: ... diff --git a/scipy-stubs/spatial/distance.pyi b/scipy-stubs/spatial/distance.pyi index 851ef9a5..42f17f31 100644 --- a/scipy-stubs/spatial/distance.pyi +++ b/scipy-stubs/spatial/distance.pyi @@ -247,7 +247,7 @@ def mahalanobis(u: onp.ToComplex1D, v: onp.ToComplex1D, VI: onp.ToComplex1D) -> @overload def sokalsneath(u: onp.ToFloat1D, v: onp.ToFloat1D, w: onp.ToFloat1D | None = None) -> np.float64: ... @overload -def sokalsneath(u: onp.ToComplex1D, v: onp.ToComplex1D, w: onp.ToFloat1D | None = None) -> np.float64 | np.float128: ... +def sokalsneath(u: onp.ToComplex1D, v: onp.ToComplex1D, w: onp.ToFloat1D | None = None) -> np.float64 | np.complex128: ... # @overload