skyfielders / python-skyfield

Elegant astronomy for Python
MIT License
1.38k stars 208 forks source link

Use arctan2 instead of arcsin when converting to spherical coordinates #979

Open wedesoft opened 1 week ago

wedesoft commented 1 week ago

This pull request avoids using the _AVOID_DIVIDE_BY_ZERO term in two cases.