diff --git a/Project.toml b/Project.toml index caed5721..e32d46b9 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Thermodynamics" uuid = "b60c26fb-14c3-4610-9d3e-2d17fe7ff00c" authors = ["Climate Modeling Alliance"] -version = "0.12.4" +version = "0.12.5" [deps] DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" diff --git a/src/relations.jl b/src/relations.jl index 2c726e7b..13ea98c2 100644 --- a/src/relations.jl +++ b/src/relations.jl @@ -1463,7 +1463,7 @@ end param_set::APS, ts::AbstractPhaseDry{FT}, ) where {FT <: Real} = q_pt_0(FT) -function PhasePartition(param_set::APS, ts::AbstractPhaseEquil) +@inline function PhasePartition(param_set::APS, ts::AbstractPhaseEquil) T = air_temperature(param_set, ts) ρ = air_density(param_set, ts) q_tot = total_specific_humidity(param_set, ts)