Skip to content

Commit

Permalink
DOC: improve black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusStano authored and Gui-FernandesBR committed Jan 20, 2024
1 parent ead9322 commit 07d4c33
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions rocketpy/simulation/flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,9 +697,7 @@ def __init__(
parachute.noisy_pressure_signal.append([node.t, pressure + noise])
# Gets height above ground level considering noise
hAGL = (
self.env.barometric_height(
pressure + noise,
)
self.env.barometric_height(pressure + noise)
- self.env.elevation
)
if parachute.triggerfunc(pressure + noise, hAGL, self.y_sol):
Expand Down Expand Up @@ -1005,9 +1003,7 @@ def __init__(
)
# Gets height above ground level considering noise
hAGL = (
self.env.barometric_height(
pressure + noise,
)
self.env.barometric_height(pressure + noise)
- self.env.elevation
)

Expand Down

0 comments on commit 07d4c33

Please sign in to comment.