From 3e243269ae52f004bef36b6bd22985806fa03b19 Mon Sep 17 00:00:00 2001 From: Marco Barbone Date: Fri, 21 Jun 2024 14:21:05 -0400 Subject: [PATCH] re-added inline to ker_eval --- src/spreadinterp.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;