From 15278280a70f11f1a0ecb0f17851f5dd13d3614c Mon Sep 17 00:00:00 2001 From: Martin Reinecke Date: Sun, 4 Aug 2019 15:29:35 +0200 Subject: [PATCH] fix --- pocketfft_hdronly.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pocketfft_hdronly.h b/pocketfft_hdronly.h index 0b955ba..d1eec5d 100644 --- a/pocketfft_hdronly.h +++ b/pocketfft_hdronly.h @@ -2927,7 +2927,7 @@ POCKETFFT_NOINLINE void general_nd(const cndarr &in, ndarr &out, { it.advance(vlen); auto tdatav = reinterpret_cast *>(storage.data()); - exec(it, in, out, tdatav, *plan, fct); + exec(it, tin, out, tdatav, *plan, fct); } #endif while (it.remaining()>0) @@ -2935,7 +2935,7 @@ POCKETFFT_NOINLINE void general_nd(const cndarr &in, ndarr &out, it.advance(1); auto buf = allow_inplace && it.stride_out() == sizeof(T) ? &out[it.oofs(0)] : reinterpret_cast(storage.data()); - exec(it, in, out, buf, *plan, fct); + exec(it, tin, out, buf, *plan, fct); } } // end of parallel region fct = T0(1); // factor has been applied, use 1 for remaining axes -- GitLab