Skip to content

Commit

Permalink
use Ref for LandParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Oct 22, 2024
1 parent 3e9591d commit 23b3da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared_utilities/Parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Base.@kwdef struct LandParameters{FT, TP, SFP, IP} <: ALP
end

Base.eltype(::LandParameters{FT}) where {FT} = FT
Base.broadcastable(ps::LandParameters) = tuple(ps)
Base.broadcastable(ps::LandParameters) = Ref(ps)

# wrapper methods:
P_ref(ps::ALP) = ps.MSLP
Expand Down

0 comments on commit 23b3da9

Please sign in to comment.