Skip to content

Commit b4a5edd

Browse files
committed
Fix conversion warning
1 parent 7a11568 commit b4a5edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cp-algo/math/fft.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace cp_algo::math::fft {
1313
cvector::exec_on_roots(2 * n, size(a), [&](size_t i, point rt) {
1414
size_t ti = std::min(i, i - n);
1515
auto rem = std::remainder(a[i].rem(), split);
16-
auto quo = (a[i].rem() - rem) / split;
16+
auto quo = (ftype(a[i].rem()) - rem) / split;
1717
A.set(ti, A.get(ti) + rem * rt);
1818
B.set(ti, B.get(ti) + quo * rt);
1919

0 commit comments

Comments
 (0)