Skip to content

Commit

Permalink
skip broken method w/rationals
Browse files Browse the repository at this point in the history
  • Loading branch information
mforets committed Jan 29, 2022
1 parent a3b879e commit f9c0759
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/LazyOperations/Intersection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ for N in [Float64, Rational{Int}, Float32]
I2 = Singleton(N[1]) HalfSpace(N[1], N(1))
@test isbounded(I2) && isboundedtype(typeof(I2))
I2 = Hyperplane(ones(N, 2), N(1)) HalfSpace(ones(N, 2), N(1))
@test !isbounded(I2) && !isboundedtype(typeof(I2))

if N != Rational{Int}
# Julia crashes if GLPK is used with rationals here, see https://github.com/jump-dev/GLPK.jl/issues/207
@test !isbounded(I2) && !isboundedtype(typeof(I2))
end
# is_polyhedral
@test is_polyhedral(I)
if N isa AbstractFloat
Expand Down

0 comments on commit f9c0759

Please sign in to comment.