Skip to content

Commit 787b25c

Browse files
committed
Fix an error when I removed a continue
1 parent b44d410 commit 787b25c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/order.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,9 @@ function vertices(
400400
visited[v] = true
401401
num_visited += 1
402402
vertices_visited[num_visited] = v
403+
already_ordered(db, v) && continue
404+
update_bucket!(db, v; degtype, direction)
403405
end
404-
already_ordered(db, v) && continue
405-
update_bucket!(db, v; degtype, direction)
406406
end
407407
end
408408
for k in 1:num_visited

0 commit comments

Comments
 (0)