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

Commit

Permalink
removed not needed method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Dec 26, 2019
1 parent 485cc64 commit 6985bf8
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/sage/geometry/polyhedron/backend_normaliz.py
Original file line number Diff line number Diff line change
Expand Up @@ -1313,19 +1313,6 @@ def _volume_normaliz(self, measure='euclidean'):
else:
raise TypeError("the measure should be `ambient`, `euclidean`, or `induced_lattice`")

def _sublattice_simplex(self):
import PyNormaliz_cpp
cone = self._normaliz_cone
assert cone
sublattice_coords = PyNormaliz_cpp.NmzResult(cone, 'Sublattice')[0]
data = {'extreme_rays': sublattice_coords}
ambient_dim = len(data["extreme_rays"][0])
data["dehomogenization"] = [[0]*(ambient_dim-1) + [1]]
number_field_triple = self._number_field_triple(self._normaliz_field)
if number_field_triple:
data['number_field'] = number_field_triple
return Polyhedron_normaliz(self.parent(), None, None, normaliz_data=data, normaliz_field=self._normaliz_field)

def _triangulate_normaliz(self):
r"""
Gives a triangulation of the polyhedron using normaliz
Expand Down

0 comments on commit 6985bf8

Please sign in to comment.