Skip to content

Commit

Permalink
Add type parameter to default_solver
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Apr 7, 2019
1 parent 05ac91f commit 9acb48d
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 @@ -48,7 +48,7 @@ function Polyhedra.similar_type(::Type{<:Polyhedron}, d::Polyhedra.FullDim, ::Ty
end
end

Polyhedra.default_solver(p::Polyhedron) = p.solver
Polyhedra.default_solver(p::Polyhedron; T=nothing) = p.solver
Polyhedra.supportssolver(::Type{<:Polyhedron}) = true

Polyhedra.hvectortype(::Union{Polyhedron, Type{Polyhedron}}) = Polyhedra.hvectortype(Polyhedra.MixedMatHRep{Float64, Matrix{Float64}})
Expand Down

0 comments on commit 9acb48d

Please sign in to comment.