You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
n = cp.Normal(0, 1)
polynomial_order = 3
poly = cp.orth_bert(polynomial_order, n, normed=True)
doesn't work for me.
The first issue was in chaospy/poly/basy.py line 200 was not checking for numpy.int types. I fixed this in my devbranch but now the error occurs when numpy's asarray calss iter . This seemed likely some special edge case for a 1D polynomial expansion, however, trying the following produces the same "not iterable" error. Any ideas on the correct way to fix this?
n = cp.Normal(0, 1)
n = cp.Iid(n,2)
polynomial_order = 3
poly = cp.orth_bert(polynomial_order, n, normed=True)
The text was updated successfully, but these errors were encountered:
I don't need it. It was just in a tutorial I was updating. Though it does appear to me that it's still in the development branch (orthogonal.py lines 304ff).
doesn't work for me.
The first issue was in chaospy/poly/basy.py line 200 was not checking for numpy.int types. I fixed this in my devbranch but now the error occurs when numpy's asarray calss iter . This seemed likely some special edge case for a 1D polynomial expansion, however, trying the following produces the same "not iterable" error. Any ideas on the correct way to fix this?
The text was updated successfully, but these errors were encountered: