Commit 15278280 authored by Martin Reinecke's avatar Martin Reinecke

fix

parent ac891a30
......@@ -2927,7 +2927,7 @@ POCKETFFT_NOINLINE void general_nd(const cndarr<T> &in, ndarr<T> &out,
{
it.advance(vlen);
auto tdatav = reinterpret_cast<add_vec_t<T> *>(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<T> &in, ndarr<T> &out,
it.advance(1);
auto buf = allow_inplace && it.stride_out() == sizeof(T) ?
&out[it.oofs(0)] : reinterpret_cast<T *>(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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment