Skip to content

Commit

Permalink
Remove type restriction on e_pot
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisYatunin committed Feb 24, 2024
1 parent 6bf8059 commit 20a633f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Thermodynamics"
uuid = "b60c26fb-14c3-4610-9d3e-2d17fe7ff00c"
authors = ["Climate Modeling Alliance"]
version = "0.12.2"
version = "0.12.3"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Expand Down
12 changes: 6 additions & 6 deletions src/relations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2941,9 +2941,9 @@ Moist static energy, given
"""
@inline function moist_static_energy(
param_set::APS,
ts::ThermodynamicState{FT},
e_pot::FT,
) where {FT <: Real}
ts::ThermodynamicState,
e_pot,
)
return specific_enthalpy(param_set, ts) + e_pot
end

Expand All @@ -2957,9 +2957,9 @@ Virtual dry static energy, given
"""
@inline function virtual_dry_static_energy(
param_set::APS,
ts::ThermodynamicState{FT},
e_pot::FT,
) where {FT <: Real}
ts::ThermodynamicState,
e_pot,
)
T_0 = TP.T_0(param_set)
cp_d = TP.cp_d(param_set)
T_virt = virtual_temperature(param_set, ts)
Expand Down

0 comments on commit 20a633f

Please sign in to comment.