Open jinglunyao opened 7 years ago
Hello,
I have tried to used the code for my database and it seems to me that there is an error relating to nodes of polynomials.
U, W = polynoms.getNodesAndWeights( ot.Indices([legendre_quadrature_order] * dimension * 2))
would create nodes U independent of the domain of definition. Thus
X = np.repeat(scale, 2) * U + np.repeat(shift, 2)
would create X which exceed the domain of definition. In consequence, we would get nan for matrix C.
Could you please try to fix this problem? Thank you in advance.
I think we should replace
by
X = np.array(list(scale)* 2) * U + np.array(list(shift)*2)
Please check it this is correct.
Hello,
I have tried to used the code for my database and it seems to me that there is an error relating to nodes of polynomials.
would create nodes U independent of the domain of definition. Thus
would create X which exceed the domain of definition. In consequence, we would get nan for matrix C.
Could you please try to fix this problem? Thank you in advance.