Simplify
This commit is contained in:
parent
d777934a6f
commit
698a7d34c8
1 changed files with 1 additions and 3 deletions
|
@ -129,9 +129,7 @@ def loft_parcel(start_temp: float,
|
|||
except OverflowError:
|
||||
break
|
||||
|
||||
height_delta = height - height_last
|
||||
|
||||
temp = lapse(temp, height_delta, rate)
|
||||
temp = lapse(temp, height - height_last, rate)
|
||||
|
||||
yield temp, pressure
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue