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

Commit 1d8261b

Browse files
committed
More 0.3 compatibility
1 parent ba6b306 commit 1d8261b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/edmonds_karp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ end
1818

1919
function residual_graph{V,E}(g::AbstractGraph{V,E},s::V,capacity::Vector{Float64})
2020
visited = fill(false,num_vertices(g))
21-
res_g = inclist(vertices(g),ExEdge,is_directed=true)
21+
res_g = inclist(vertices(g),ExEdge{V},is_directed=true)
2222
residual_graph_sub!(g,res_g,s,visited,capacity)
2323
return res_g
2424
end

0 commit comments

Comments
 (0)