turn nd into int

nd will be passed to zeros(), which only accepts int
master
Bo Zhang @NAOC 8 years ago committed by GitHub
parent 30bf392f80
commit 61db4bec26

@ -561,7 +561,7 @@ class SmoothSpline(PPform):
# ndy = y.ndim
szy = y.shape
nd = prod(szy[:-1])
nd = np.int(prod(szy[:-1]))
ny = szy[-1]
if n < 2:

Loading…
Cancel
Save