Skip to content

Commit

Permalink
PolyhedralGeometry: remove some prefer statements from tests
Browse files Browse the repository at this point in the history
even though these should be scoped, they do seem to have some side-effects
they should not really be necessary so try removing them
  • Loading branch information
benlorenz committed Nov 25, 2024
1 parent 5d48fee commit 42c203d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions test/PolyhedralGeometry/linear_program.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
C1 = cube(f, 2, 0, 1)
Pos = polyhedron(f, [-1 0 0; 0 -1 0; 0 0 -1], [0, 0, 0])
L = polyhedron(f, [-1 0 0; 0 -1 0], [0, 0])
point = convex_hull(f, [0 1 0])
empty = polyhedron(f, [1 0 0; -1 0 0], [0, -1])
# this is to make sure the order of some matrices below doesn't change
Polymake.prefer("beneath_beyond") do
affine_hull(point)
end
s = simplex(f, 2)
rsquare = cube(f, 2, QQFieldElem(-3, 2), QQFieldElem(3, 2))

Expand Down
4 changes: 0 additions & 4 deletions test/PolyhedralGeometry/polyhedron.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
L = polyhedron(f, [-1 0 0; 0 -1 0], [0, 0])
full = polyhedron(f, zero_matrix(f, 0, 3), [])
point = convex_hull(f, [0 1 0])
# this is to make sure the order of some matrices below doesn't change
Polymake.prefer("beneath_beyond") do
affine_hull(point)
end
s = simplex(f, 2)
R, x = polynomial_ring(QQ, :x)
v = T[f(1), f(1)]
Expand Down

0 comments on commit 42c203d

Please sign in to comment.