Skip to content

Commit 3f1ddc6

Browse files
committed
mino fix
1 parent 4628742 commit 3f1ddc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/graphs/path_enumeration.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ def pnc_k_shortest_simple_paths(self, source, target, weight_function=None,
16241624
if d > dist_in_func.get(v, float('inf')):
16251625
continue # already found a better path
16261626

1627-
for _, u, _ in G.outgoing_edge_iterator(v):
1627+
for u in G.neighbor_out_iterator(v):
16281628
if u in exclude_vertices:
16291629
continue
16301630
new_dist = d + sidetrack_cost[(v, u)]

0 commit comments

Comments
 (0)