Skip to content

Commit

Permalink
defaultLPsolverfor -> solver
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed May 2, 2018
1 parent 026109e commit 5891254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polyhedron.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5891254

Please sign in to comment.