Commit 8ac40bf5 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

bug fix

parent 9a23ef51
......@@ -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;
......
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