Skip to content

core: fix rolling-sum with NaN data #1759

New issue

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

Merged
merged 2 commits into from
Apr 2, 2025
Merged

Conversation

brharrington
Copy link
Contributor

In some cases when it falls back to summing the buffer, the sum will be set to NaN. In this case it will not recover until there is another fall back. Update it to use addNaN so that it will recover correctly when values start coming in again.

In some cases when it falls back to summing the buffer, the
sum will be set to NaN. In this case it will not recover until
there is another fall back. Update it to use addNaN so that it
will recover correctly when values start coming in again.
@brharrington brharrington added this to the 1.8.0 milestone Apr 2, 2025
@brharrington brharrington merged commit b2b36f5 into Netflix:main Apr 2, 2025
5 checks passed
@brharrington brharrington deleted the rs-nan branch April 2, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant