Skip to content
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

Considering NaN in downsampled spatial profile data #987

Merged
merged 5 commits into from
Jan 11, 2022

Conversation

markccchiang
Copy link
Contributor

Maybe it is not a critical bug. Using std::minmax_element or std::min_element/std::max_element can not get the right min/max values from a segment if it contains NaN elements. To show it, introducing random NaN in generated images and remove this code line, then some of the spatial profile tests would fail. This PR is part of #797 for the cursor/point region spatial profile test.

@kswang1029 kswang1029 added this to the v3.0b-3 milestone Jan 5, 2022
@confluence confluence merged commit 9dfb2b3 into dev Jan 11, 2022
@confluence confluence deleted the mark/consider_nan_in_downsample_spatial_profile branch January 11, 2022 10:53
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.

None yet

4 participants