Skip to content

Closed: opened in error#961

Closed
raytracerfvf wants to merge 1 commit intoRocketPy-Team:developfrom
raytracerfvf:fix/impact-event-empty-roots
Closed

Closed: opened in error#961
raytracerfvf wants to merge 1 commit intoRocketPy-Team:developfrom
raytracerfvf:fix/impact-event-empty-roots

Conversation

@raytracerfvf
Copy link
Copy Markdown

@raytracerfvf raytracerfvf commented May 9, 2026

This PR was opened by mistake and has been closed. Please disregard.

The cubic Hermite root-finder filters with a strict open interval
(0, t1). When numerical noise places the ground crossing at a boundary
(e.g. a rocket settling under parachute), no candidate survives and
valid_t_root[0] raises IndexError. Fall back to t1 in that case --
solution[-1] is at or below ground by then, so it is the correct side
of the crossing.
@raytracerfvf raytracerfvf requested a review from a team as a code owner May 9, 2026 16:51
@raytracerfvf
Copy link
Copy Markdown
Author

Closing — opened by mistake. Will revisit later if appropriate.

@raytracerfvf raytracerfvf deleted the fix/impact-event-empty-roots branch May 9, 2026 16:57
@raytracerfvf raytracerfvf changed the title BUG: tolerate empty valid_t_root in Flight.__handle_impact_event Closed: opened in error May 9, 2026
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