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

Commit

Permalink
fixed pyflakes warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Feb 12, 2020
1 parent 0768b90 commit c82545f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5193,9 +5193,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 Expand Up @@ -5381,7 +5378,7 @@ def hasse_diagram(self):
sage: D.degree_polynomial()
x^5 + x^4*y + x*y^4 + y^5 + 4*x^3*y + 8*x^2*y^2 + 4*x*y^3
"""
from sage.geometry.polyhedron.face import combinatorial_face_to_polyhedral_face, PolyhedronFace
from sage.geometry.polyhedron.face import combinatorial_face_to_polyhedral_face
C = self.combinatorial_polyhedron()
D = C.hasse_diagram()

Expand Down

0 comments on commit c82545f

Please sign in to comment.