Skip to content

Commit

Permalink
exp
Browse files Browse the repository at this point in the history
  • Loading branch information
Rin204 committed Feb 29, 2024
1 parent a92a5e7 commit 65725cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions expansion/$tests/convolution/xor_convolution.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def f(A):
if MOD != -1:
A[j] = (x + y) % MOD
A[j + h] = (x - y) % MOD
else:
A[j] = x + y
A[j + h] = x - y
h *= 2

f(A)
Expand Down
3 changes: 3 additions & 0 deletions expansion/convolution/xor_convolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def f(A):
if MOD != -1:
A[j] = (x + y) % MOD
A[j + h] = (x - y) % MOD
else:
A[j] = x + y
A[j + h] = x - y
h *= 2

f(A)
Expand Down

0 comments on commit 65725cf

Please sign in to comment.