Skip to content

Commit

Permalink
Update polyhedron.jl (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVandH authored Oct 20, 2023
1 parent 970486d commit 150307b
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 @@ -7,7 +7,7 @@ end
Library() = Library(nothing)
_isone(d::Int) = isone(d)
_isone(d::StaticArrays.Size{(1,)}) = true
_isone(d::StaticArrays.Size) where T = false
_isone(d::StaticArrays.Size) = false
Polyhedra.similar_library(l::Library, d::Polyhedra.FullDim, T::Type) = Polyhedra.default_library(d, T)
function Polyhedra.similar_library(l::Library, d::Polyhedra.FullDim, ::Type{Float64})
if _isone(d)
Expand Down

0 comments on commit 150307b

Please sign in to comment.