From 64575b28946c055db2b6524422f9b68e57df2376 Mon Sep 17 00:00:00 2001 From: jorenham Date: Tue, 24 Dec 2024 08:01:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20somehow=20the=20CI=20only=20now?= =?UTF-8?q?=20shows=20these=20`np.float128`=20typo's?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scipy-stubs/sparse/linalg/_eigen/arpack/arpack.pyi | 4 ++-- scipy-stubs/spatial/distance.pyi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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