From 42c203d90a4fd3d98749e8b2af121cfc141a98b4 Mon Sep 17 00:00:00 2001 From: Benjamin Lorenz Date: Mon, 25 Nov 2024 21:58:53 +0100 Subject: [PATCH] PolyhedralGeometry: remove some prefer statements from tests even though these should be scoped, they do seem to have some side-effects they should not really be necessary so try removing them --- test/PolyhedralGeometry/linear_program.jl | 4 ---- test/PolyhedralGeometry/polyhedron.jl | 4 ---- 2 files changed, 8 deletions(-) diff --git a/test/PolyhedralGeometry/linear_program.jl b/test/PolyhedralGeometry/linear_program.jl index 427b73a7d7de..e05a7198341f 100644 --- a/test/PolyhedralGeometry/linear_program.jl +++ b/test/PolyhedralGeometry/linear_program.jl @@ -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)) diff --git a/test/PolyhedralGeometry/polyhedron.jl b/test/PolyhedralGeometry/polyhedron.jl index 3556449f31dd..94d4e480f68c 100644 --- a/test/PolyhedralGeometry/polyhedron.jl +++ b/test/PolyhedralGeometry/polyhedron.jl @@ -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)]