From b872378a255b12662be4bedb2fce866b257b467a Mon Sep 17 00:00:00 2001 From: William Armstrong Date: Sat, 23 Nov 2024 21:09:40 -0700 Subject: [PATCH] allow stochastic fins with multiple fin sets --- CHANGELOG.md | 1 + rocketpy/stochastic/stochastic_rocket.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8df36b8df..57974eb04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ Attention: The newest changes should be on top --> ### Fixed +- BUG: Allow multiple sets of stochastic fins [#737](https://github.com/RocketPy-Team/RocketPy/pull/737) - BUG: forecast and reanalysis models - Update ECMWF dictionary values [#736](https://github.com/RocketPy-Team/RocketPy/pull/736) - BUG: forecast and reanalysis models - move wind_speed to correct position [#735](https://github.com/RocketPy-Team/RocketPy/pull/735) - BUG: Sideslip Angle and Damping Coefficient Calculation [#729](https://github.com/RocketPy-Team/RocketPy/pull/729) diff --git a/rocketpy/stochastic/stochastic_rocket.py b/rocketpy/stochastic/stochastic_rocket.py index d9333dfc7..01e6c66a5 100644 --- a/rocketpy/stochastic/stochastic_rocket.py +++ b/rocketpy/stochastic/stochastic_rocket.py @@ -442,8 +442,7 @@ def get_surface_position(self_object, _): for surface in surfaces: if surface.component == validated_object.obj: return surface.position - else: - raise AssertionError(error_msg) + raise AssertionError(error_msg) return get_surface_position