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

Commit

Permalink
Polyhedron_base.as_manifold_subset, relative_interior_manifold: Add a…
Browse files Browse the repository at this point in the history
…rgument ambient_chart
  • Loading branch information
Matthias Koeppe committed Feb 20, 2022
1 parent 2a023e0 commit feebc50
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5852,7 +5852,7 @@ def _affine_hull_name_latex_name(self, name=None, latex_name=None):
return aff_name, aff_latex_name

def as_manifold_subset(self, name=None, latex_name=None, start_index=0, ambient_space=None,
names=None, **kwds):
ambient_chart=None, names=None, **kwds):
r"""
Return the relative interior of ``self`` as a subset of its affine hull manifold.
Expand Down Expand Up @@ -5885,6 +5885,7 @@ def as_manifold_subset(self, name=None, latex_name=None, start_index=0, ambient_
latex_name=relint_latex_name,
start_index=start_index,
ambient_space=ambient_space,
ambient_chart=ambient_chart,
names=names,
**kwds)
return relint_self.closure(name=name, latex_name=latex_name)
Expand Down Expand Up @@ -5914,7 +5915,7 @@ def _relative_interior_name_latex_name(self, name=None, latex_name=None):
return relint_name, relint_latex_name

def relative_interior_manifold(self, name=None, latex_name=None, start_index=0, ambient_space=None,
names=None, **kwds):
ambient_chart=None, names=None, **kwds):
r"""
Return the relative interior of ``self`` as an open subset of its affine hull manifold.
Expand Down Expand Up @@ -5949,7 +5950,9 @@ def relative_interior_manifold(self, name=None, latex_name=None, start_index=0,
if name is None:
name, latex_name = self._relative_interior_name_latex_name()
aff_self = self.affine_hull_manifold(start_index=start_index,
ambient_space=ambient_space, names=names, **kwds)
ambient_space=ambient_space,
ambient_chart=ambient_chart,
names=names, **kwds)
C_aff_self = aff_self.default_chart()
if self.is_full_dimensional():
x = vector(C_aff_self)
Expand Down

0 comments on commit feebc50

Please sign in to comment.