Skip to content

Error with Julia 1.6.0 #14

@davide-f

Description

@davide-f

Dear @oxinabox ,

while using SankeyPlots, I discovered an error in the inizialization of the variable T in the function ordering_problem, when I updated Julia to the 1.6.0 version with the lastest packages.
In particular, the following error is thrown:
TypeError: in DenseAxisArray, in L, expected L<:Tuple{Vararg{JuMP.Containers._AxisLookup, N}}, got Type{Tuple{Dict{Int64, Int64}}}

The problem is related to: line 108 of zarate.jl function:
T = JuMP.Containers.DenseAxisArray{VariableRef,1,Tuple{Vector{Int64}},Tuple{Dict{Int64,Int64}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions