Skip to content

Commit

Permalink
PR sagemath#36232: alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Sep 11, 2023
1 parent 38969d2 commit 5efb88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/topology/simplicial_complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -4183,7 +4183,7 @@ def fundamental_group(self, base_point=None, simplify=True):
# to make lookup faster.
spanning_tree = set(frozenset((u, v)) for u, v, _ in G.min_spanning_tree())
gens = [e for e in G.edge_iterator(labels=False)
if frozenset(e) not in spanning_tree]
if frozenset(e) not in spanning_tree]
if not gens:
return gap.TrivialGroup()

Expand Down

0 comments on commit 5efb88e

Please sign in to comment.