Skip to content

Commit

Permalink
Fix loadplanValue bug for vectors of non-dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
nHackel committed Dec 14, 2023
1 parent de95ae8 commit d744e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RecoPlans/Serialization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function loadPlanValue(t::UnionAll, value::Dict, modDict)
return fromTOML(specializeType(t, value, modDict), value)
end
end
function loadPlanValue(::Type{Vector{<:T}}, value::Vector, modDict) where {T}
function loadPlanValue(::Type{Vector{<:T}}, value::Vector{Dict}, modDict) where {T}
result = Any[]
for val in value
type = modDict[val[MODULE_TAG]][val[TYPE_TAG]]
Expand Down

0 comments on commit d744e40

Please sign in to comment.