-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Altitude search: better parameter checking.
Made sure all the altitude search functions verify that the geographic latitude and target altitude are valid numbers in the range [-90, +90]. Reworked the C version of the code to be clearer: eliminated goofy ALTDIFF macro, split out max altitude derivative into its own function MaxAltitudeSlope, just like the other language implementations do. Minor rewording of comments in MaxAltitudeSlope functions. Python InvalidBodyError now includes the invalid body in the diagnostic message.
- Loading branch information
1 parent
5e074d0
commit d9d955a
Showing
20 changed files
with
506 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.