diff --git a/src/spreadinterp.cpp b/src/spreadinterp.cpp index 26c2ef56a..3212e6705 100644 --- a/src/spreadinterp.cpp +++ b/src/spreadinterp.cpp @@ -55,8 +55,9 @@ void print_subgrid_info(int ndims, BIGINT offset1, BIGINT offset2, BIGINT offset template()>, typename... V> -static auto ker_eval(FLT *FINUFFT_RESTRICT ker, const finufft_spread_opts &opts, - const V... elems) noexcept; +static FINUFFT_ALWAYS_INLINE auto ker_eval(FLT *FINUFFT_RESTRICT ker, + const finufft_spread_opts &opts, + const V... elems) noexcept; static FINUFFT_ALWAYS_INLINE FLT fold_rescale(FLT x, BIGINT N) noexcept; static FINUFFT_ALWAYS_INLINE void set_kernel_args( FLT *args, FLT x, const finufft_spread_opts &opts) noexcept;