Example: ```julia julia> using SimpleWeightedGraphs julia> g = SimpleWeightedDiGraph([1], [2], [1]) {2, 1} directed simple Int64 graph with Int64 weights julia> SimpleWeightedGraphs.get_weight(g, 1, 2) 1 julia> SimpleWeightedGraphs.get_weight(g, 2, 1) 0 julia> metis_g = Metis.graph(g) ERROR: weights must be positive integers, got weight 0 for edge (2, 1) ... ``` The error comes from this line: https://github.com/JuliaSparse/Metis.jl/blob/5eea928a488e4dc5e14279cc388def4dd007c093/ext/GraphsCommon.jl#L25 Which should be `get_weight(G, j, i)`.