Array parameter setting fails with Int64 parameter type

Aha! I replicated the error, it only happens when the index isn’t :time… very weird… I will look into this! The following example now produces the error:

using Mimi

@defcomp bar begin
    x::Int64 = Parameter(index=[regions])
end

m = Model()
set_dimension!(m, :time, 3)
set_dimension!(m, :regions, [:a, :b])
add_comp!(m, bar)
set_param!(m, :bar, :x, [1,2])