From b443c1cf789bd388912843c4ea2510e7386cdf9f Mon Sep 17 00:00:00 2001 From: Charles Kawczynski Date: Mon, 24 Jul 2023 12:10:20 -0700 Subject: [PATCH] Fix method argument type --- src/relations.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relations.jl b/src/relations.jl index 46d625c6..38e0583d 100644 --- a/src/relations.jl +++ b/src/relations.jl @@ -1245,7 +1245,7 @@ condensate(param_set::APS, ts::ThermodynamicState) = Bool indicating if condensate exists in the phase partition """ -has_condensate(q_c::FT) where {FT} = q_c > eps(FT) +has_condensate(q_c::FT) where {FT <: Real} = q_c > eps(FT) has_condensate(q::PhasePartition) = has_condensate(condensate(q)) has_condensate(param_set::APS, ts::ThermodynamicState) = has_condensate(PhasePartition(param_set, ts))