Skip to content

Commit 1c3e40e

Browse files
committed
using fma where possible
1 parent 5d56fa1 commit 1c3e40e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spreadinterp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ void interp_line(FLT *FINUFFT_RESTRICT target, const FLT *du, const FLT *ker,
832832
out[1] = xsimd::fma(du[2 * j + 1], ker[dx], out[1]);
833833
}
834834
} else if (FINUFFT_UNLIKELY(i1 + ns >= N1)) { // wraps at right
835-
for (int dx = 0; dx < N1 - i1; ++dx, ++j) {
835+
for (UBIGINT dx = 0; dx < N1 - i1; ++dx, ++j) {
836836
out[0] = xsimd::fma(du[2 * j], ker[dx], out[0]);
837837
out[1] = xsimd::fma(du[2 * j + 1], ker[dx], out[1]);
838838
}

0 commit comments

Comments
 (0)