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
110381ce
Commit
110381ce
authored
Jan 24, 2020
by
Martin Reinecke
Browse files
improvements submitted by Chuck Witt
parent
2147aaf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
pocketfft_hdronly.h
View file @
110381ce
...
...
@@ -648,7 +648,7 @@ class thread_pool
}
};
thread_pool
&
get_pool
()
inline
thread_pool
&
get_pool
()
{
static
thread_pool
pool
;
#ifdef POCKETFFT_PTHREADS
...
...
@@ -3382,7 +3382,7 @@ template<typename T> void c2r(const shape_t &shape_out,
stride_inter
[
size_t
(
i
)]
=
stride_inter
[
size_t
(
i
+
1
)]
*
ptrdiff_t
(
shape_in
[
size_t
(
i
+
1
)]);
arr
<
std
::
complex
<
T
>>
tmp
(
nval
);
auto
newaxes
=
shape_t
(
{
axes
.
begin
(),
--
axes
.
end
()}
)
;
auto
newaxes
=
shape_t
{
axes
.
begin
(),
--
axes
.
end
()};
c2c
(
shape_in
,
stride_in
,
stride_inter
,
newaxes
,
forward
,
data_in
,
tmp
.
data
(),
T
(
1
),
nthreads
);
c2r
(
shape_out
,
stride_inter
,
stride_out
,
axes
.
back
(),
forward
,
...
...
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