Skip to content

Fix elevation_for math domain problem#132

Merged
matiasg merged 2 commits into
masterfrom
fix_elevation_for
May 22, 2025
Merged

Fix elevation_for math domain problem#132
matiasg merged 2 commits into
masterfrom
fix_elevation_for

Conversation

@matiasg

@matiasg matiasg commented May 22, 2025

Copy link
Copy Markdown
Collaborator

if the position of the object in Location.elevation_for() call is right above it, the method sometimes raises an exception because it tries to compute asin(1 + epsilon) because of floating errors.

@matiasg matiasg merged commit 5c233f2 into master May 22, 2025
0 of 5 checks passed
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