From 269e2f251cc3362260ac00a5dd1bf7b840bb99ad Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Wed, 4 Dec 2024 16:39:06 +0900 Subject: [PATCH] Do not return const plan type for fftw --- fft/src/KokkosFFT_FFTW_Types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fft/src/KokkosFFT_FFTW_Types.hpp b/fft/src/KokkosFFT_FFTW_Types.hpp index c6f48425..5a22c27d 100644 --- a/fft/src/KokkosFFT_FFTW_Types.hpp +++ b/fft/src/KokkosFFT_FFTW_Types.hpp @@ -80,7 +80,7 @@ struct ScopedFFTWPlanType { } } - const plan_type &plan() const { return m_plan; } + plan_type &plan() const { return m_plan; } template void create(const ExecutionSpace &exec_space, int rank, const int *n,