Skip to content

Commit 560ef80

Browse files
aZira371Gui-FernandesBR
authored andcommitted
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 dc7ad73 commit 560ef80

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
@@ -1380,7 +1380,7 @@ def lateral_surface_wind(self):
13801380
return -wind_u * np.cos(heading_rad) + wind_v * np.sin(heading_rad)
13811381

13821382
def __get_drag_coefficient(
1383-
self, drag_function, mach, z, velocity_body, freestream_velocity_body
1383+
self, drag_function, mach, z, freestream_velocity_body
13841384
):
13851385
"""Calculate drag coefficient, handling both 1D and multi-dimensional functions.
13861386

0 commit comments

Comments
 (0)