Skip to content

Commit

Permalink
Fix conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-pwn committed Dec 5, 2024
1 parent 7a11568 commit b4a5edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cp-algo/math/fft.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace cp_algo::math::fft {
cvector::exec_on_roots(2 * n, size(a), [&](size_t i, point rt) {
size_t ti = std::min(i, i - n);
auto rem = std::remainder(a[i].rem(), split);
auto quo = (a[i].rem() - rem) / split;
auto quo = (ftype(a[i].rem()) - rem) / split;
A.set(ti, A.get(ti) + rem * rt);
B.set(ti, B.get(ti) + quo * rt);

Expand Down

0 comments on commit b4a5edd

Please sign in to comment.