ANISE provides a toolkit and files for Attitude, Navigation, Instrument, Spacecraft, and Ephemeris data. It's a modern replacement of the NAIF SPICE toolkit.
Mozilla Public License 2.0
68
stars
14
forks
source link
Allow for add_{sma/inc/etc} to bubble up failures #264
If add_sma_km was called on a hyperbolic orbit, then the error was not caught and the library would panic. This applied to all orbital elements. This PR fixes this, allowing for the error to rise up.
Architectural Changes
No change
New Features
No change
Improvements
No change
Bug Fixes
No change
Testing and validation
No change!
Documentation
This PR does not primarily deal with documentation changes.
Summary
If
add_sma_km
was called on a hyperbolic orbit, then the error was not caught and the library would panic. This applied to all orbital elements. This PR fixes this, allowing for the error to rise up.Architectural Changes
No change
New Features
No change
Improvements
No change
Bug Fixes
No change
Testing and validation
No change!
Documentation
This PR does not primarily deal with documentation changes.