Skip to content

Commit

Permalink
⬆️ revised all paths
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed Dec 10, 2020
1 parent aa4123c commit 88a5c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynetx/algorithms/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def all_time_respecting_paths(G, start=None, end=None, nodes_from=None, nodes_to
nodes_to = nodes

for u, v in itertools.product(nodes_from, nodes_to): # itertools.permutations(list(G.nodes()), 2):
paths = list(time_respecting_paths(G, u, v, start, end))
paths = list(time_respecting_paths(S, u, v, start, end))
if len(paths) > 0:
res[(u, v)] = paths
return res
Expand Down

0 comments on commit 88a5c08

Please sign in to comment.