Skip to content

Commit 9acb48d

Browse files
committed
Add type parameter to default_solver
1 parent 05ac91f commit 9acb48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/polyhedron.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Polyhedra.similar_type(::Type{<:Polyhedron}, d::Polyhedra.FullDim, ::Ty
4848
end
4949
end
5050

51-
Polyhedra.default_solver(p::Polyhedron) = p.solver
51+
Polyhedra.default_solver(p::Polyhedron; T=nothing) = p.solver
5252
Polyhedra.supportssolver(::Type{<:Polyhedron}) = true
5353

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

0 commit comments

Comments
 (0)