Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcel3243 committed Oct 9, 2023
1 parent a381da0 commit 5547c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ end
x = rand(vertices(g))
y = rand(vertices(g))
semidirected = precompute_semidirected(g, y)
if x != y && !isadjacent(g, x, y) && !last(semidirected)[x]
if x != y && !isadjacent(g, x, y) && !last(semidirected)[x] && !isempty(collect(InsertIterator(g, x, y, semidirected)))
break
end
end
Expand Down

0 comments on commit 5547c83

Please sign in to comment.