Skip to content

SMOOTH with ots of NaNs in the 2d case: closes issue #1940 #1944

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

Conversation

GillesDuvert
Copy link
Contributor

when all considered values for smooth were NaN, in the 2D case -- the only one where an additionnal array (tmp) was used -- the value returned may come from an uninitialized tmp value (and be wrong).

Initializing the tmp array with NaN suffices for obtianing the result.

… only one where an additionnal array (tmp) was used -- the value returned would come from an uninitialized tmp value (and be wrong).

Initializing the tmp array with NaN suffices for obtianing the result.
@GillesDuvert GillesDuvert merged commit 235a8d8 into gnudatalanguage:master Dec 14, 2024
3 of 7 checks passed
@GillesDuvert GillesDuvert deleted the close_1940_wrong_values_in_smooth_with_all_nans branch December 16, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant