Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polar of polyhedron #235

Merged
merged 2 commits into from
Dec 30, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove underscore
  • Loading branch information
blegat committed Dec 19, 2020
commit 95d23b1e6e0b5228459d652dfc75dd4d53e844b2
2 changes: 1 addition & 1 deletion src/repop.jl
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ function polar(hr::HRepresentation{T}) where T
end
return vrep(points, lines, rays, d = FullDim(hr))
end
function _polar(p::Polyhedron)
function polar(p::Polyhedron)
if hrepiscomputed(p) # TODO we should compute the polar of both rep if both are computed
return polyhedron(polar(hrep(p)), library(p))
else
Expand Down