From 84871f9b76f111917b37fd33431e1c562526bc86 Mon Sep 17 00:00:00 2001 From: Takuya Iwanaga Date: Sun, 1 Dec 2024 19:24:44 +1100 Subject: [PATCH] Allow OrderedDicts to be used --- src/Nodes/IHACRES/IHACRESNode.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nodes/IHACRES/IHACRESNode.jl b/src/Nodes/IHACRES/IHACRESNode.jl index 5af421e..57dcc2a 100644 --- a/src/Nodes/IHACRES/IHACRESNode.jl +++ b/src/Nodes/IHACRES/IHACRESNode.jl @@ -74,7 +74,7 @@ function prep_state!(node::IHACRESNode, timesteps::Int64)::Nothing end -function IHACRESBilinearNode(name::String, spec::Dict) +function IHACRESBilinearNode(name::String, spec::Union{Dict,OrderedDict}) n = create_node(IHACRESBilinearNode, name, spec["area"]) node_params = copy(spec["parameters"])