Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scipy-stubs/ndimage/_measurements.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def labeled_comprehension(
labels: onp.ToComplex | onp.ToComplexND | None,
index: onp.ToInt | onp.ToIntND | None,
func: _ComprehensionFunc,
out_dtype: onp.AnyFloat64DType,
out_dtype: onp.AnyFloat64DType | None,
default: onp.ToFloat,
pass_positions: bool = False,
) -> onp.ArrayND[np.float64]: ...
Expand Down
4 changes: 2 additions & 2 deletions scipy-stubs/stats/_stats.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def gaussian_kernel_estimate(
values: onp.Array2D[_Real],
xi: onp.Array2D[_AsReal],
cho_cov: onp.Array2D[_AsReal],
dtype: onp.AnyFloat64DType,
dtype: onp.AnyFloat64DType | None,
_: _Real | float = 0.0,
) -> onp.Array2D[np.float64]: ...
@overload
Expand Down Expand Up @@ -140,7 +140,7 @@ def gaussian_kernel_estimate_log(
values: onp.Array2D[_Real],
xi: onp.Array2D[_AsReal],
cho_cov: onp.Array2D[_AsReal],
dtype: onp.AnyFloat64DType,
dtype: onp.AnyFloat64DType | None,
_: _Real | float = 0.0,
) -> onp.Array2D[np.float64]: ...
@overload
Expand Down