Skip to content

Commit a448697

Browse files
committed
Fixed small bug
1 parent 363a8bd commit a448697

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
@@ -1276,7 +1276,7 @@ void interp_cube(FLT *FINUFFT_RESTRICT target, const FLT *du, const FLT *ker1,
12761276
for (uint8_t dy{0}; dy < ns; ++dy) {
12771277
const auto du_ptr = base_du_ptr + 2 * N1 * dy; // (see above)
12781278
for (uint8_t l{0}; l < line_vectors; ++l) {
1279-
du_pts[l] = simd_type::load_unaligned(l * simd_size + base_du_ptr);
1279+
du_pts[l] = simd_type::load_unaligned(l * simd_size + du_ptr);
12801280
}
12811281
for (uint8_t l{0}; l < line_vectors; ++l) {
12821282
line[l] = xsimd::fma(ker23_array[dy], du_pts[l], line[l]);

0 commit comments

Comments
 (0)