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 8451c7b commit a97ac75Copy full SHA for a97ac75
cp-algo/math/fft.hpp
@@ -24,7 +24,7 @@ namespace cp_algo::math::fft {
24
factor = 1 + random::rng() % (base::mod() - 1);
25
ifactor = base(1) / factor;
26
mod = base::mod();
27
- imod = -inv2(base::mod());
+ imod = -inv2<uint32_t>(base::mod());
28
_init = true;
29
}
30
0 commit comments