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

BUG: Prevent nan being returned from transform #558

Merged
merged 1 commit into from
Aug 1, 2016

Conversation

jjhelmus
Copy link
Contributor

@jjhelmus jjhelmus commented Aug 1, 2016

The geographic_to_cartesian_aeqd function in the transforms module would return
arrays contains nan when numerical imprecision caused the argument of the
arccos function to be out of the valid domain [-1, 1]. Add logic to catch and
correct these cases.

The geographic_to_cartesian_aeqd function in the transforms module would return
arrays contains nan when numerical imprecision caused the argument of the
arccos function to be out of the valid domain [-1, 1]. Add logic to catch and
correct these cases.
@jjhelmus jjhelmus merged commit d9fab62 into ARM-DOE:master Aug 1, 2016
@jjhelmus jjhelmus deleted the geo_cart_nan_bug branch August 1, 2016 16:38
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