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

Error in Raster.get_stats when an empty inlier_mask is passed #662

Open
vschaffn opened this issue Mar 7, 2025 · 0 comments · May be fixed by #663
Open

Error in Raster.get_stats when an empty inlier_mask is passed #662

vschaffn opened this issue Mar 7, 2025 · 0 comments · May be fixed by #663
Labels
bug Something isn't working

Comments

@vschaffn
Copy link
Contributor

vschaffn commented Mar 7, 2025

As total_inlier_count is 0 when an empty inlier_mask is passed, it triggered a division by 0 in Percentage_valid_inlier_points.

@vschaffn vschaffn added the bug Something isn't working label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant