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 23, 2024
1 parent 31ad582 commit 53c2de0
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 53c2de0

Please sign in to comment.