Skip to content

Commit ebe283b

Browse files
authored
Simplify return statement for inertia tensor calculation
1 parent 9c006af commit ebe283b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rocketpy/motors/liquid_motor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,7 @@ def propellant_I_11(self):
307307
Function
308308
Total propellant inertia tensor 11 component at time t relative to total propellant CoM.
309309
"""
310-
I_11_prop_relative_to_prop_com = self.propellant_I_11_from_propellant_CM
311-
return I_11_prop_relative_to_prop_com
310+
return self.propellant_I_11_from_propellant_CM
312311

313312
@funcify_method("Time (s)", "Inertia I_22 (kg m²)")
314313
def propellant_I_22(self):

0 commit comments

Comments
 (0)