We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48dfa7e commit f151129Copy full SHA for f151129
Interpolation/polyvander.py
@@ -84,7 +84,7 @@ def horner(x, a, k=0):
84
if a.ndim==0:
85
return horner(x, [a.item()], k)
86
if a.ndim>1:
87
- return np.array([horner(x, a[i], k) for i in range(a.shape[0])]).T
+ return np.array([horner(x, a[i], k) for i in range(a.shape[0])])
88
else:
89
if isinstance(x, list) or isinstance(x,tuple):
90
x = np.asarray(x)/1.0
0 commit comments