SciML / PolyChaos.jl

A Julia package to construct orthogonal polynomials, their quadrature rules, and use it with polynomial chaos expansions.
https://docs.sciml.ai/PolyChaos/stable/
MIT License
115 stars 26 forks source link

Cannot create orthogonal bases of degree 0 #68

Open adriangrupp opened 3 years ago

adriangrupp commented 3 years ago

Problem description: When creating a polynomial basis e.g. by op = GaussOrthoPoly(0) we get a BoundsError.

Expected Behavior: Returns a polynomial basis type for the 0th-degree polynomial, which is defined as 1.