Created
December 30, 2014 18:09
-
-
Save seveas/3ac7ad27878de181d066 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/dijkstra_spath.jl b/src/dijkstra_spath.jl | |
index 6c6eac8..f4c3e38 100644 | |
--- a/src/dijkstra_spath.jl | |
+++ b/src/dijkstra_spath.jl | |
@@ -251,7 +251,7 @@ dijkstra_shortest_paths{V}( | |
function dijkstra_shortest_paths_explicit{V}(g::AbstractGraph{V},all...) | |
state = dijkstra_shortest_paths(g,all...) | |
allvertices = g.vertices | |
- patharr = Array(Vector{V},0) | |
+ patharr = Array(Array{V},0) | |
parents = state.parents | |
dists = state.dists | |
for i in 1:length(parents) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment