LightGraphsFlows.jl icon indicating copy to clipboard operation
LightGraphsFlows.jl copied to clipboard

Clean up `multiroute_flow` to correct type instability

Open gdalle opened this issue 4 years ago • 0 comments
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?

gdalle avatar Mar 01 '21 20:03 gdalle