Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Reinecke
pypocketfft
Commits
8ac40bf5
Commit
8ac40bf5
authored
May 10, 2019
by
Martin Reinecke
Browse files
bug fix
parent
9a23ef51
Changes
1
Hide whitespace changes
Inline
Side-by-side
pypocketfft.cc
View file @
8ac40bf5
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment