Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Reinecke
ducc
Commits
d7af95c1
Commit
d7af95c1
authored
Jan 24, 2020
by
Martin Reinecke
Browse files
improvement submitted by Chuck Witt
parent
2d17ce26
Changes
1
Hide whitespace changes
Inline
Side-by-side
mr_util/fft.h
View file @
d7af95c1
...
...
@@ -2899,7 +2899,7 @@ template<typename T> void c2r(const cfmav<std::complex<T>> &in,
util
::
sanity_check_cr
(
in
,
out
,
axes
);
if
(
in
.
size
()
==
0
)
return
;
fmav
<
std
::
complex
<
T
>>
atmp
(
in
.
shape
());
auto
newaxes
=
shape_t
(
{
axes
.
begin
(),
--
axes
.
end
()}
)
;
auto
newaxes
=
shape_t
{
axes
.
begin
(),
--
axes
.
end
()};
c2c
(
in
,
atmp
,
newaxes
,
forward
,
T
(
1
),
nthreads
);
c2r
(
atmp
,
out
,
axes
.
back
(),
forward
,
fct
,
nthreads
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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