Skip to content

Commit

Permalink
reviewer nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Jan 10, 2019
1 parent 3c18778 commit b806b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/combinat/matrices/hadamard_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -1249,8 +1249,8 @@ def szekeres_difference_set_pair(m, check=True):
t = F.multiplicative_generator()**2
G = F.cyclotomic_cosets(t, cosets=[F.one()])[0]
sG = set(G)
A = list(filter(lambda a: a - F.one() in sG, G))
B = list(filter(lambda b: b + F.one() in sG, G))
A = [a for a in G if a - F.one() in sG]
B = [b for b in G if b + F.one() in sG]
if check:
from itertools import product, chain
assert(len(A) == len(B) == m)
Expand Down

0 comments on commit b806b2e

Please sign in to comment.