From 5efb88e8b65dac07ac5fa7bbbb8a265b405f889c Mon Sep 17 00:00:00 2001 From: dcoudert Date: Mon, 11 Sep 2023 10:58:08 +0200 Subject: [PATCH] PR #36232: alignment --- src/sage/topology/simplicial_complex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/topology/simplicial_complex.py b/src/sage/topology/simplicial_complex.py index 89fc0fdac7d..6816c128115 100644 --- a/src/sage/topology/simplicial_complex.py +++ b/src/sage/topology/simplicial_complex.py @@ -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()