Skip to content

Commit

Permalink
Fixing var assignements 🚑 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
RimorRes committed Nov 2, 2019
1 parent 43a9d3f commit 8880a2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preflightpy/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def get_temp(self, z: float, h: float) -> float:
def get_pressure(self, z: float, h: float, T: float, b: int)-> float:

def equ(a, b, c, d, e):
z = z/1000
return math.exp( a * z**4 + b * z**3 + c * z**2 + d * z + e)
zeta = z/1000
return math.exp( a * zeta**4 + b * zeta**3 + c * zeta**2 + d * zeta + e)

if b <= 6:
if self.Lm[b] != 0:
Expand Down

0 comments on commit 8880a2a

Please sign in to comment.