GAA-UAM / scikit-fda

Functional Data Analysis Python package
https://fda.readthedocs.io
BSD 3-Clause "New" or "Revised" License
309 stars 58 forks source link

BSplineBasis initialization incorrect error message #575

Closed pcuestas closed 1 year ago

pcuestas commented 1 year ago

When creating a BSplineBasis with n_basis < order, there is a ValueError whose message is not coherent with the condition that checks for the error:

https://github.com/GAA-UAM/scikit-fda/blob/5779840aae96dca530fe7143fade3d7e97129e50/skfda/representation/basis/_bspline_basis.py#L132-L137