Skip to content

Commit 3e24326

Browse files
committed
re-added inline to ker_eval
1 parent 3efa84c commit 3e24326

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/spreadinterp.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ void print_subgrid_info(int ndims, BIGINT offset1, BIGINT offset2, BIGINT offset
5555
template<uint8_t ns, uint8_t kerevalmeth, class T,
5656
class simd_type = xsimd::make_sized_batch_t<T, find_optimal_simd_width<T, ns>()>,
5757
typename... V>
58-
static auto ker_eval(FLT *FINUFFT_RESTRICT ker, const finufft_spread_opts &opts,
59-
const V... elems) noexcept;
58+
static FINUFFT_ALWAYS_INLINE auto ker_eval(FLT *FINUFFT_RESTRICT ker,
59+
const finufft_spread_opts &opts,
60+
const V... elems) noexcept;
6061
static FINUFFT_ALWAYS_INLINE FLT fold_rescale(FLT x, BIGINT N) noexcept;
6162
static FINUFFT_ALWAYS_INLINE void set_kernel_args(
6263
FLT *args, FLT x, const finufft_spread_opts &opts) noexcept;

0 commit comments

Comments
 (0)