From f387be0f1bb146891be9e969c09312df4622a68c Mon Sep 17 00:00:00 2001 From: Lionel Zoubritzky Date: Tue, 7 Jun 2022 15:05:27 +0200 Subject: [PATCH] Minor test fix --- test/Project.toml | 1 + test/runtests.jl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Project.toml b/test/Project.toml index 0b17186..8bc23e9 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,5 +1,6 @@ [deps] Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" PeriodicGraphs = "18c5b727-b240-4874-878a-f2e242435bab" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" diff --git a/test/runtests.jl b/test/runtests.jl index 782c294..1819462 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,6 +1,6 @@ using PeriodicGraphEquilibriumPlacement using Graphs, PeriodicGraphs, SparseArrays -using Test, Random +using Test, Random, LinearAlgebra function is_at_mean_position(g::PeriodicGraph{D}, poss, i) where D neighs = neighbors(g, i)