-
-
Notifications
You must be signed in to change notification settings - Fork 278
raised error with message for negative tof value #1413
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pull request @TheBuffer!
However, this makes the change only in the izzo
algorithm (while we also have vallado
). And besides, the concept of "orbit epochs" doesn't exist at this low level function, it's only the tof
, so I think the error message might be misleading.
What about moving the check upwards, to the Maneuver.lambert
classmethod?
Codecov Report
@@ Coverage Diff @@
## main #1413 +/- ##
=======================================
Coverage 91.95% 91.95%
=======================================
Files 82 82
Lines 4348 4350 +2
Branches 426 427 +1
=======================================
+ Hits 3998 4000 +2
Misses 260 260
Partials 90 90
Continue to review full report at Codecov.
|
Also, this will need a test. |
5a84de9
to
f295cff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of minor things and we're ready!
9fa77b6
to
225248f
Compare
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot and congratulations for your first pull request! Merging
#1397 Added message to negative tof assert error