diff --git a/fft/src/KokkosFFT_FFTW_Types.hpp b/fft/src/KokkosFFT_FFTW_Types.hpp index 5a22c27d..16d2e8c7 100644 --- a/fft/src/KokkosFFT_FFTW_Types.hpp +++ b/fft/src/KokkosFFT_FFTW_Types.hpp @@ -80,7 +80,7 @@ struct ScopedFFTWPlanType { } } - plan_type &plan() const { return m_plan; } + plan_type &plan() { return m_plan; } template void create(const ExecutionSpace &exec_space, int rank, const int *n,