Merge pull request #32 from hypergravity/master

turn nd into int
master
Per A. Brodtkorb 8 years ago committed by GitHub
commit a63e7aeded

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

Loading…
Cancel
Save