Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv committed Nov 12, 2024
1 parent d33841c commit 092cfb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pointification.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ function pointify end

pointify(p::Primitive) = pointify(boundary(p))

pointify(p::Polytope) = vertices(p)
# collect is necessary because CircularVector doesn't work with SVector
pointify(p::Polytope) = collect(vertices(p))

pointify(m::Multi) = pointify(parent(m))

Expand Down

0 comments on commit 092cfb6

Please sign in to comment.