Skip to content

Commit 9330cc4

Browse files
authored
fixup EnsParTable key fixed to Symbol
1 parent 2acfedc commit 9330cc4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/frontend/specification/EnsembleParameterTable.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ end
1313

1414
# constuct an empty table
1515
EnsembleParameterTable(::Nothing; params::Union{Nothing, Vector{Symbol}} = nothing) =
16-
EnsembleParameterTable{Symbol}(
16+
EnsembleParameterTable(
1717
Dict{Symbol, ParameterTable}(),
1818
isnothing(params) ? Symbol[] : copy(params),
1919
)
@@ -32,11 +32,11 @@ function EnsembleParameterTable(
3232
end
3333

3434
# convert each model specification to ParameterTable
35-
partables = Dict{K, ParameterTable}(
36-
group => convert(ParameterTable, spec; params) for
35+
partables = Dict{Symbol, ParameterTable}(
36+
Symbol(group) => convert(ParameterTable, spec; params) for
3737
(group, spec) in pairs(spec_ensemble)
3838
)
39-
return EnsembleParameterTable{K}(partables, params)
39+
return EnsembleParameterTable(partables, params)
4040
end
4141

4242
############################################################################################

0 commit comments

Comments
 (0)