LightGraphsFlows.jl
LightGraphsFlows.jl copied to clipboard
Clean up `multiroute_flow` to correct type instability
trafficstars
Judging by an old comment https://github.com/JuliaGraphs/LightGraphsFlows.jl/blob/40cdca3a3cd6b7c21dd5077306b8d4201ffb172d/src/multiroute_flow.jl#L97
it seems the return type of multiroute_flow depends upon its arguments. Maybe there is a way to do this using multiple dispatch instead?