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

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 11, 2021
1 parent 331aa59 commit 0579188
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/sage/manifolds/closure_topological_submanifold.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ def __init__(self, submanifold, name=None, latex_name=None):

self._submanifold = submanifold
base_manifold = submanifold.embedding().codomain()
if name is None:
name = 'cl_' + submanifold._name
if latex_name is None:
if name is None:
latex_name = r'\mathop{\mathrm{cl}}(' + submanifold._latex_name + ')'
else:
latex_name = name
if name is None:
name = 'cl_' + submanifold._name
ManifoldSubset.__init__(self, base_manifold, name, latex_name=latex_name)

def _repr_(self):
Expand All @@ -27,5 +27,3 @@ def _repr_(self):
"""
return "Topological closure {} of the {}".format(self._name, self._submanifold)


0 comments on commit 0579188

Please sign in to comment.