diff --git a/src/polyhedron.jl b/src/polyhedron.jl index efa6714..2019ed4 100644 --- a/src/polyhedron.jl +++ b/src/polyhedron.jl @@ -201,7 +201,7 @@ end #end _getrepfor(p::LRSPolyhedron, ::Polyhedra.HIndex, status::Symbol) = getinem(p, status) _getrepfor(p::LRSPolyhedron, ::Polyhedra.VIndex, status::Symbol) = getextm(p, status) -function isredundant(p::LRSPolyhedron, idx::Polyhedra.Index; strongly=false, cert=false, solver=Polyhedra.defaultLPsolverfor(p)) +function isredundant(p::LRSPolyhedron, idx::Polyhedra.Index; strongly=false, cert=false, solver=Polyhedra.solver(p)) @assert !strongly && !cert redundi(_getrepfor(p, idx, :AlmostFresh), idx.value) # FIXME does it need to be fresh ? end