Skip to content

Commit e332ee8

Browse files
committed
Fix
1 parent 7ead437 commit e332ee8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/order.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function vertices(
369369
for v in vertices(g, Val(side))
370370
for w1 in neighbors(g, Val(side), v)
371371
for w2 in neighbors(g, Val(other_side), w1)
372-
if w != v && !visited[w]
372+
if w2 != v && !visited[w2]
373373
degrees_dist2[v] += 1
374374
visited[w2] = true
375375
end

0 commit comments

Comments
 (0)