GAA-UAM / scikit-fda

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

BSplineBasis initialization incorrect error message #575

Closed pcuestas closed 9 months ago

pcuestas commented 9 months 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