Skip to content

Commit 60d95b6

Browse files
authored
šŸ› interpolate: Fix incorrect return type for make_lsq_spline (#776)
1 parent 705b940 commit 60d95b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ā€Žscipy-stubs/interpolate/_bsplines.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def make_interp_spline(
142142
@overload
143143
def make_lsq_spline(
144144
x: onp.ToFloat1D,
145-
y: onp.ToJustComplexND,
145+
y: onp.ToFloatND,
146146
t: onp.ToFloat1D,
147147
k: op.CanIndex = 3,
148148
w: onp.ToFloat1D | None = None,
@@ -154,7 +154,7 @@ def make_lsq_spline(
154154
@overload
155155
def make_lsq_spline(
156156
x: onp.ToFloat1D,
157-
y: onp.ToFloatND,
157+
y: onp.ToJustComplexND,
158158
t: onp.ToFloat1D,
159159
k: op.CanIndex = 3,
160160
w: onp.ToFloat1D | None = None,

0 commit comments

Comments
Ā (0)