We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b32181 commit cd56544Copy full SHA for cd56544
rocketpy/simulation/flight.py
@@ -2954,7 +2954,7 @@ def __calculate_rail_button_forces(self): # TODO: complex method.
2954
Rail Button 2 force in the 2 direction
2955
"""
2956
# First check for no rail phase or rail buttons
2957
- null_force = []
+ null_force = Function(0)
2958
if self.out_of_rail_time_index == 0: # No rail phase, no rail button forces
2959
warnings.warn(
2960
"Trying to calculate rail button forces without a rail phase defined."
0 commit comments