Skip to content

Commit 53a2452

Browse files
committed
fix
1 parent aa48020 commit 53a2452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cp-algo/math/poly/impl/div.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ namespace cp_algo::math::poly::impl {
111111
// Q(-x) = P0(x^2) + xP1(x^2)
112112
auto [q0, q1] = p.bisect(n);
113113

114-
size_t N = fft::com_size(size(q0.a), (n + 1) / 2);
114+
size_t N = fft::com_size((n + 1) / 2, (n + 1) / 2);
115115

116116
auto q0f = fft::dft<base>(q0.a, N);
117117
auto q1f = fft::dft<base>(q1.a, N);

0 commit comments

Comments
 (0)