From e7ec863893ddfa537de9872648438e02ba1ec61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Mon, 24 Nov 2025 20:09:30 +0100 Subject: [PATCH] Use Link instead of Direct to facilitate non-Direct Links in the nodes_in_area-function --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 9a9abcf..e17ebf0 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -57,7 +57,7 @@ function nodes_in_area(a::Area, ℒ::Vector{<:Link}; n_nodes=1000) # Initiate the arrays queue = EMB.Node[av] nodes = EMB.Node[av] - links = EMB.Direct[] + links = EMB.Link[] k = 1 while !isempty(queue) # Extract the connected nodes