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
22fa09fb
Commit
22fa09fb
authored
Nov 16, 2018
by
Reimar H Leike
Browse files
made new space harmonic iff initial space is harmonic
parent
e33b0209
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/central_zero_padder.py
View file @
22fa09fb
...
...
@@ -64,7 +64,7 @@ class CentralZeroPadder(LinearOperator):
raise
ValueError
(
"New shape must be larger than old shape"
)
# make target space
tgt
=
RGSpace
(
new_shape
,
dom
.
distances
)
tgt
=
RGSpace
(
new_shape
,
dom
.
distances
,
harmonic
=
dom
.
harmonic
)
self
.
_target
=
list
(
self
.
_domain
)
self
.
_target
[
self
.
_space
]
=
tgt
self
.
_target
=
DomainTuple
.
make
(
self
.
_target
)
...
...
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