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
dd9c9bf3
Commit
dd9c9bf3
authored
May 13, 2019
by
Martin Reinecke
Browse files
sync
parent
6cb5f23d
Changes
1
Hide whitespace changes
Inline
Side-by-side
pocketfft_hdronly.h
View file @
dd9c9bf3
...
...
@@ -432,8 +432,6 @@ struct util // hack to avoid duplicate symbols
if
(
ndim
<
1
)
throw
runtime_error
(
"ndim must be >= 1"
);
if
((
stride_in
.
size
()
!=
ndim
)
||
(
stride_out
.
size
()
!=
ndim
))
throw
runtime_error
(
"stride dimension mismatch"
);
for
(
auto
shp
:
shape
)
if
(
shp
<
1
)
throw
runtime_error
(
"zero extent detected"
);
if
(
inplace
&&
(
stride_in
!=
stride_out
))
throw
runtime_error
(
"stride mismatch"
);
}
...
...
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