Skip to content

Commit

Permalink
🐛 somehow the CI only now shows these np.float128 typo's
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Dec 24, 2024
1 parent d5cbfd6 commit 64575b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scipy-stubs/sparse/linalg/_eigen/arpack/arpack.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

Expand Down
2 changes: 1 addition & 1 deletion scipy-stubs/spatial/distance.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64575b2

Please sign in to comment.