We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When evaluating an FDataIrregular observation with only one point, the returned value is incorrect.
FDataIrregular
from skfda import FDataIrregular irregular=FDataIrregular( start_indices=[0], points=[1], values=[-1], ) print(irregular(irregular.points))
[[[-1]]]
[[[nan]]]
scikit-fda version: '0.9.2.dev0' OS: Ubuntu 22
However, the evaluation of FDataIrregular observations which have more than one measurement is correct:
>>> irregular=FDataIrregular( ... start_indices=[0], ... points=[1, 2], ... values=[-1, -2], ... ) >>> irregular(irregular.points) array([[[-1.], [-2.]]])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description summary
When evaluating an
FDataIrregular
observation with only one point, the returned value is incorrect.Code to reproduce the bug
Expected result
[[[-1]]]
Actual result
[[[nan]]]
Software versions
scikit-fda version: '0.9.2.dev0'
OS: Ubuntu 22
Additional context
However, the evaluation of
FDataIrregular
observations which have more than one measurement is correct:The text was updated successfully, but these errors were encountered: