From 53c2de008706531c57ddc3946d637ab1c47ce688 Mon Sep 17 00:00:00 2001 From: Julia Sloan Date: Tue, 22 Oct 2024 16:35:44 -0700 Subject: [PATCH] use Ref for LandParameters --- src/shared_utilities/Parameters.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared_utilities/Parameters.jl b/src/shared_utilities/Parameters.jl index ca7ca40716..67d3e58800 100644 --- a/src/shared_utilities/Parameters.jl +++ b/src/shared_utilities/Parameters.jl @@ -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