Fix compile error in fft3d_kokkos.cpp

This commit is contained in:
Stan Moore 2019-12-16 13:30:52 -07:00
parent c169e88268
commit 4c9d355fc7
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ public:
KOKKOS_INLINE_FUNCTION
void operator() (const int &i) const {
#if defined(FFT_FFTW3) || defined(FFT_CUFFT)
FFT_SCALAR* out_ptr = (FFT_SCALAR *)d_out(i);
FFT_SCALAR* out_ptr = (FFT_SCALAR *)(d_out.data()+i);
*(out_ptr++) *= norm;
*(out_ptr++) *= norm;
#elif defined(FFT_MKL)