From 20a633fe8514d6934a667523e74731c33a8ae860 Mon Sep 17 00:00:00 2001 From: Dennis Yatunin Date: Fri, 23 Feb 2024 16:49:12 -0800 Subject: [PATCH] Remove type restriction on e_pot --- Project.toml | 2 +- src/relations.jl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Project.toml b/Project.toml index 4139c258..54c8f48f 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.2" +version = "0.12.3" [deps] DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" diff --git a/src/relations.jl b/src/relations.jl index 4f895855..cbfcc8d6 100644 --- a/src/relations.jl +++ b/src/relations.jl @@ -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 @@ -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)