From 5547c8305479043a91a40b437982689d2f8e4c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Wien=C3=B6bst?= Date: Mon, 9 Oct 2023 17:55:54 +0200 Subject: [PATCH] fix test error --- test/operators.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/operators.jl b/test/operators.jl index 8bdb9c90..3a534276 100644 --- a/test/operators.jl +++ b/test/operators.jl @@ -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