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
The computeTensorizedSP seems to drop entries less than 1E-10,
This is not very reasonable when using Float64 and can cause weird behaviors when making use of tensor products.
MWE
using PolyChaos
op = Uniform_11OrthoPoly(20, Nrec = 40)
t2 = Tensor(2, op)
l1 = [t2.get([i, i]) for i=0:op.deg]
l2 = computeSP2(op)
The
computeTensorizedSP
seems to drop entries less than1E-10
,This is not very reasonable when using Float64 and can cause weird behaviors when making use of tensor products.
MWE
l1
is not equal tol2
computeTensorizedSP
is the default method used to constructTensor
, seePolyChaos.jl/src/typesTensor.jl
Line 15 in e20be07
In the following example,
Tensor.get()
would not work at high orders as the denominators are zero.The text was updated successfully, but these errors were encountered: