Closed dcooley closed 3 years ago
When using dodgr_paths(..., pairwise = TRUE) on length-1 from/to vectors we get a segfault
dodgr_paths(..., pairwise = TRUE)
(This example causes a crash)
graph <- weight_streetnet (hampi) from <- graph$from_id[1234] to <- graph$to_id[4321] dp <- dodgr_paths (graph, from = from, to = to, pairwise = TRUE)
I think this
for (i in seq (from_index))
should be
for (i in seq_along (from_index))
Yep, that was it alright. Thanks!
When using
dodgr_paths(..., pairwise = TRUE)
on length-1 from/to vectors we get a segfault(This example causes a crash)
I think this
should be