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 1, 2024
1 parent ab4a3a6 commit 84871f9
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 84871f9

Please sign in to comment.