Skip to content

Conversation

Lucas-Prates
Copy link
Contributor

Pull request type

  • Code changes (bugfix, features)
  • Code maintenance (refactoring, formatting, tests)
  • ReadMe, Docs and GitHub updates
  • Other (please describe):

Checklist

  • Lint (black rocketpy/ tests/) has passed locally
  • All tests (pytest tests -m slow --runslow) have passed locally
  • CHANGELOG.md has been updated (if relevant)

Current behavior

time_overshoot=None causes an error in Flight._simulate.

New behavior

Fixes #804 by setting time_overshoot to the base flight value when it is None.

Breaking change

  • No

Additional information

Still need to fix time_overshoot=False problem described in #802

@Lucas-Prates Lucas-Prates requested a review from a team as a code owner April 18, 2025 15:26
@Lucas-Prates Lucas-Prates added Monte Carlo Monte Carlo and related contents Bug Something isn't working labels Apr 18, 2025
Copy link
Member

@Gui-FernandesBR Gui-FernandesBR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the CHANGELOG.

LGTM

@github-project-automation github-project-automation bot moved this from Backlog to Next Version in LibDev Roadmap Apr 19, 2025
@MateusStano MateusStano merged commit c438427 into develop Apr 21, 2025
2 of 8 checks passed
@MateusStano MateusStano deleted the bug/fix_montecarlo_overshoot_none_issue_804 branch April 21, 2025 17:36
@github-project-automation github-project-automation bot moved this from Next Version to Closed in LibDev Roadmap Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Monte Carlo Monte Carlo and related contents
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

BUG: MonteCarlo simulations not working when there are StochasticParachutes
3 participants