From 8c6f0e9319917c4e38da7c5ccfe73c56ba56ebe5 Mon Sep 17 00:00:00 2001 From: "mhsatman@gmail.com" Date: Wed, 3 Apr 2024 13:58:28 +0300 Subject: [PATCH] fix tests --- test/runtests.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 6312fe4..ae18411 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2370,7 +2370,7 @@ end Fn_below = Fn[Cn.<0] En_below = boundaryedges(Fn_below) ind_below = unique(reduce(vcat,En_below)) - d = [norm(v) for v ∈ Vn[ind]] + d = [norm(v) for v ∈ Vn[ind_below]] @test isapprox(sum((d.-r).^2),0.0,atol=tol_level) # Should p = [0.0,0.0,0.0]; # Point on cutting plane @@ -2384,7 +2384,7 @@ end Fn_below = Fn[Cn.<0] En_below = boundaryedges(Fn_below) ind_below = unique(reduce(vcat,En_below)) - d = [norm(v) for v ∈ Vn[ind]] + d = [norm(v) for v ∈ Vn[ind_below]] @test isapprox(sum((d.-r).^2),0.0,atol=tol_level) # Should p = [0.0,0.0,0.0]; # Point on cutting plane @@ -2398,7 +2398,7 @@ end Fn_below = Fn[Cn.<0] En_below = boundaryedges(Fn_below) ind_below = unique(reduce(vcat,En_below)) - d = [norm(v) for v ∈ Vn[ind]] + d = [norm(v) for v ∈ Vn[ind_below]] @test isapprox(sum((d.-r).^2),0.0,atol=tol_level) # Should end