Skip to content

Commit fd2cf53

Browse files
committed
minor style fixes
1 parent b4ca265 commit fd2cf53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/categories/simplicial_sets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def _universal_cover_dict(self):
372372
G = FG.quotient(rels)
373373
char = {g : G.gen(i) for i,g in enumerate(gens)}
374374
for e in edges:
375-
if not e in gens:
375+
if e not in gens:
376376
char[e] = G.one()
377377
return (G, char)
378378

@@ -464,7 +464,7 @@ def covering_map(self, character):
464464

465465
for d in range(1, self.dimension() + 1):
466466
for s in self.n_cells(d):
467-
if not s in char.keys():
467+
if s not in char.keys():
468468
if d==1 and s.is_degenerate():
469469
char[s] = G.one()
470470
elif s.is_degenerate():

0 commit comments

Comments
 (0)