Skip to content
Snippets Groups Projects
Commit 932fbad9 authored by Florian Unger's avatar Florian Unger
Browse files

slightly nicer print: simplices are now surrounded with <v1,v2,...>

parent ec216f98
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ Simplex.__doc__ += \
cofaces(V): A set of references to the cofaces of the simplex, in itself FlagComplexVertices.
'''
Simplex.__hash__ = object.__hash__
Simplex.__repr__ = lambda self : self.ver.__repr__()
Simplex.__repr__ = lambda self : f'<{self.ver.__repr__()}>'
def pred(G,v):
'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment