Skip to content

Commit 9cc4619

Browse files
committed
allow stochastic fins with multiple fin sets
1 parent fa9725e commit 9cc4619

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rocketpy/stochastic/stochastic_rocket.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,7 @@ def get_surface_position(self_object, _):
442442
for surface in surfaces:
443443
if surface.component == validated_object.obj:
444444
return surface.position
445-
else:
446-
raise AssertionError(error_msg)
445+
raise AssertionError(error_msg)
447446

448447
return get_surface_position
449448

0 commit comments

Comments
 (0)