Skip to content

Commit

Permalink
Merge pull request #150 from CliMA/ck/fix_method_argtype
Browse files Browse the repository at this point in the history
Fix method argument type
  • Loading branch information
charleskawczynski authored Aug 25, 2023
2 parents b62d6d2 + b443c1c commit f7d5775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f7d5775

Please sign in to comment.