Skip to content

Commit

Permalink
Merge pull request #21 from jbytecode/main
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
Kevin-Mattheus-Moerman authored Apr 3, 2024
2 parents 1663bbd + 8c6f0e9 commit ebfa645
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

Expand Down

0 comments on commit ebfa645

Please sign in to comment.