From d93b83a8179c0686136aef79137ad28fdcb7de63 Mon Sep 17 00:00:00 2001 From: Charles Kawczynski Date: Tue, 5 Mar 2024 10:55:39 -0500 Subject: [PATCH 1/2] Inline PhasePartition --- src/relations.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relations.jl b/src/relations.jl index cbfcc8d6..8d68762d 100644 --- a/src/relations.jl +++ b/src/relations.jl @@ -1465,7 +1465,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) From 865610490de764c8c0abd8f023566d8054045079 Mon Sep 17 00:00:00 2001 From: Charles Kawczynski Date: Tue, 5 Mar 2024 10:56:34 -0500 Subject: [PATCH 2/2] Bump patch version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"