Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Commit

Permalink
More 0.3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeonovic committed Oct 6, 2015
1 parent ba6b306 commit 1d8261b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edmonds_karp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ end

function residual_graph{V,E}(g::AbstractGraph{V,E},s::V,capacity::Vector{Float64})
visited = fill(false,num_vertices(g))
res_g = inclist(vertices(g),ExEdge,is_directed=true)
res_g = inclist(vertices(g),ExEdge{V},is_directed=true)
residual_graph_sub!(g,res_g,s,visited,capacity)
return res_g
end
Expand Down

0 comments on commit 1d8261b

Please sign in to comment.