Commit 47cc2243 authored by Martin Reinecke's avatar Martin Reinecke

another bug fix

parent 9a4f0247
......@@ -2507,7 +2507,7 @@ template<typename T> py::array hartley_internal(const py::array &in,
py::array res = inplace ? in : py::array_t<T>(dims);
auto s_i(copy_strides(in)), s_o(copy_strides(res));
pocketfft_general_hartley<T>(dims, s_i, s_o, axes, (const T *)in.data(),
(T *)res.mutable_data(), 1.);
(T *)res.mutable_data(), fct);
return res;
}
py::array hartley(const py::array &in, py::object axes_, double fct,
......
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