JuliaPolyhedra / Polyhedra.jl

Polyhedral Computation Interface
Other
172 stars 27 forks source link

Base.show() for Polyhedron instance issue #250

Closed Boomer91 closed 2 years ago

Boomer91 commented 3 years ago

Creating and displaying a polyhedron instance seems to crash the REPL.

MWE:

using Polyhedra
import GLPK
lib = DefaultLibrary{Float64}(GLPK.Optimizer)

P1 = polyhedron(vrep([1 2]), lib);

display(P1)
blegat commented 3 years ago

I guess this is a duplicate of https://github.com/JuliaPolyhedra/Polyhedra.jl/issues/237, https://github.com/JuliaPolyhedra/Polyhedra.jl/issues/230 and https://github.com/JuliaPolyhedra/Polyhedra.jl/issues/216. Should be fixed in Julia v1.7, see https://github.com/JuliaLang/julia/issues/39349

blegat commented 2 years ago

See https://github.com/JuliaPolyhedra/Polyhedra.jl/issues/216#issuecomment-1066128472