Skip to content

Commit 3020dab

Browse files
committed
actually make copies of the array
1 parent 3fdb15b commit 3020dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/convolution/xor_convolution.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void fwht(int n, vi& a) {
1616
a[i + j + k] = (x - y + mod) % mod;
1717
}
1818
}
19-
vi xor_conv(vi& a, vi& b) {
19+
vi xor_conv(vi a, vi b) {
2020
int n = sz(a), inv = mod_div(1, n);
2121
fwht(n, a);
2222
fwht(n, b);

0 commit comments

Comments
 (0)