Skip to content
Snippets Groups Projects
Commit 8ac40bf5 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

bug fix

parent 9a23ef51
Branches
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ template<typename T> py::array irfftn_internal(const py::array &in,
throw runtime_error("bad lastsize");
dims_out[axis] = lastsize;
py::array res = py::array_t<T>(dims_out);
c2r(dims_in, lastsize, copy_strides(in), copy_strides(res), axes,
c2r(dims_out, copy_strides(in), copy_strides(res), axes,
reinterpret_cast<const complex<T> *>(in.data()),
reinterpret_cast<T *>(res.mutable_data()), T(fct));
return res;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment