Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix pyflakes warning; added optional flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Dec 26, 2019
1 parent 6985bf8 commit 591d3b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/sage/geometry/polyhedron/backend_normaliz.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,7 @@ def _volume_normaliz(self, measure='euclidean'):
sage: P._volume_normaliz('ambient') == P.volume(engine='internal') # optional - pynormaliz
True
sage: P = polytopes.dodecahedron(backend='normaliz')
sage: P = polytopes.dodecahedron(backend='normaliz') # optional - pynormaliz
sage: P._volume_normaliz('ambient') == P.volume(engine='internal') # optional - pynormaliz
True
Expand Down
3 changes: 0 additions & 3 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5186,9 +5186,6 @@ def barycentric_subdivision(self, subdivision_frac=None):
barycenter = self.center()
parent = self.parent().base_extend(subdivision_frac)

ambient_dim = self.ambient_dim()
polytope_dim = self.dimension()

start_polar = (self - barycenter).polar(in_affine_span=True)
polar = (self - barycenter).polar(in_affine_span=True)

Expand Down

0 comments on commit 591d3b1

Please sign in to comment.