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
ift
NIFTy
Commits
d8b7a398
Commit
d8b7a398
authored
Jul 20, 2018
by
Martin Reinecke
Browse files
fix
parent
dfe8d194
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/central_zero_padder.py
View file @
d8b7a398
...
...
@@ -69,6 +69,7 @@ class CentralZeroPadder(LinearOperator):
if
dax
in
axes
:
x
=
dobj
.
redistribute
(
x
,
nodist
=
axes
)
curax
=
dobj
.
distaxis
(
x
)
x
=
dobj
.
local_data
(
x
)
if
mode
==
self
.
TIMES
:
y
=
np
.
zeros
(
dobj
.
local_shape
(
shp_out
,
curax
),
dtype
=
x
.
dtype
)
...
...
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