Skip to content

Commit f151129

Browse files
authored
Update polyvander.py
1 parent 48dfa7e commit f151129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Interpolation/polyvander.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def horner(x, a, k=0):
8484
if a.ndim==0:
8585
return horner(x, [a.item()], k)
8686
if a.ndim>1:
87-
return np.array([horner(x, a[i], k) for i in range(a.shape[0])]).T
87+
return np.array([horner(x, a[i], k) for i in range(a.shape[0])])
8888
else:
8989
if isinstance(x, list) or isinstance(x,tuple):
9090
x = np.asarray(x)/1.0

0 commit comments

Comments
 (0)