Skip to content

Commit

Permalink
Allow OrderedDicts to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnectedSystems committed Dec 14, 2024
1 parent cd4b6dc commit 1ee485f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nodes/IHACRES/IHACRESNode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand Down

0 comments on commit 1ee485f

Please sign in to comment.