Skip to content

Commit efe5cd7

Browse files
authored
MNt: refactoring get_drag_coefficient in flight.py
- MNT: velocity_body was not being used in get_drag_coefficient, removed it as an input
1 parent b621a16 commit efe5cd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rocketpy/simulation/flight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ def lateral_surface_wind(self):
13491349
return -wind_u * np.cos(heading_rad) + wind_v * np.sin(heading_rad)
13501350

13511351
def __get_drag_coefficient(
1352-
self, drag_function, mach, z, velocity_body, freestream_velocity_body
1352+
self, drag_function, mach, z, freestream_velocity_body
13531353
):
13541354
"""Calculate drag coefficient, handling both 1D and multi-dimensional functions.
13551355

0 commit comments

Comments
 (0)