Skip to content

Commit

Permalink
bugfix: xor_convolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Rin204 committed Feb 27, 2024
1 parent 6551d32 commit a92a5e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/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 a92a5e7

Please sign in to comment.