Skip to content
GitLab
Menu
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
ff5b268d
Commit
ff5b268d
authored
Feb 19, 2020
by
Philipp Frank
Browse files
fix fieldzeropadder
parent
3b24e3c7
Pipeline
#69522
passed with stages
in 25 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty6/operators/field_zero_padder.py
View file @
ff5b268d
...
...
@@ -95,7 +95,7 @@ class FieldZeroPadder(LinearOperator):
xnew
[
idx
+
(
slice
(
0
,
v
.
shape
[
d
]),)]
=
v
else
:
# ADJOINT_TIMES
if
self
.
_central
:
shp
=
list
(
x
.
shape
)
shp
=
list
(
v
.
shape
)
shp
[
d
]
=
tgtshp
[
d
]
xnew
=
np
.
zeros
(
shp
,
dtype
=
v
.
dtype
)
Nyquist
=
xnew
.
shape
[
d
]
//
2
...
...
Write
Preview
Supports
Markdown
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