Skip to content

Commit 7331dfc

Browse files
authored
👽️ scipy 1.16 update for cluster.vq.whiten (#526)
2 parents 72f19ef + d7e3acd commit 7331dfc

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.mypyignore-todo

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
scipy.cluster.vq.whiten
2-
31
scipy.interpolate.RectBivariateSpline.__init__
42
scipy.interpolate._bsplines.make_smoothing_spline
53
scipy.interpolate._fitpack2.RectBivariateSpline.__init__

scipy-stubs/cluster/vq.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class ClusterError(Exception): ...
2121

2222
#
2323
@overload
24-
def whiten(obs: onp.ArrayND[np.bool_ | np.integer[Any]], check_finite: bool = True) -> onp.Array2D[np.float64]: ...
24+
def whiten(obs: onp.ArrayND[np.bool_ | np.integer[Any]], check_finite: bool | None = None) -> onp.Array2D[np.float64]: ...
2525
@overload
26-
def whiten(obs: onp.ArrayND[_InexactT], check_finite: bool = True) -> onp.Array2D[_InexactT]: ...
26+
def whiten(obs: onp.ArrayND[_InexactT], check_finite: bool | None = None) -> onp.Array2D[_InexactT]: ...
2727

2828
#
2929
@overload

0 commit comments

Comments
 (0)