Skip to content

Instantly share code, notes, and snippets.

@seveas
Created December 30, 2014 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seveas/3ac7ad27878de181d066 to your computer and use it in GitHub Desktop.
Save seveas/3ac7ad27878de181d066 to your computer and use it in GitHub Desktop.
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