We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa48020 commit 53a2452Copy full SHA for 53a2452
cp-algo/math/poly/impl/div.hpp
@@ -111,7 +111,7 @@ namespace cp_algo::math::poly::impl {
111
// Q(-x) = P0(x^2) + xP1(x^2)
112
auto [q0, q1] = p.bisect(n);
113
114
- size_t N = fft::com_size(size(q0.a), (n + 1) / 2);
+ size_t N = fft::com_size((n + 1) / 2, (n + 1) / 2);
115
116
auto q0f = fft::dft<base>(q0.a, N);
117
auto q1f = fft::dft<base>(q1.a, N);
0 commit comments