Can’t you check if this will be the case and then explicitly create an empty and correctly typed JuMP.Containers.SparseAxisArray to use in its place?
Can’t you check if this will be the case and then explicitly create an empty and correctly typed JuMP.Containers.SparseAxisArray to use in its place?