Skip to content

Commit

Permalink
Fix ambiguity error with [email protected] (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Feb 22, 2024
1 parent 9700752 commit 3adbafd
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 @@ -269,7 +269,7 @@ function Polyhedra.default_solver(p::Polyhedron{S}; T=S) where {S}
end
_getrepfor(p::Polyhedron, ::Polyhedra.HIndex) = getine(p)
_getrepfor(p::Polyhedron, ::Polyhedra.VIndex) = getext(p)
function Polyhedra.isredundant(p::Polyhedron, idx::Polyhedra.HIndex; strongly=false, cert=false, solver=nothing)
function Polyhedra.isredundant(p::Polyhedron, idx::Polyhedra.Index; strongly=false, cert=false, solver=nothing)
f = strongly ? sredundant : redundant
ans = f(_getrepfor(p, idx), idx.value)
if cert
Expand Down

0 comments on commit 3adbafd

Please sign in to comment.