Commit 22fa09fb authored by Reimar H Leike's avatar Reimar H Leike
Browse files

made new space harmonic iff initial space is harmonic

parent e33b0209
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment