Commit e33b0209 authored by Reimar H Leike's avatar Reimar H Leike
Browse files

removed restriction that forces padding to be in position space

parent 360aa04b
......@@ -58,8 +58,6 @@ class CentralZeroPadder(LinearOperator):
# verify domains
if not isinstance(dom, RGSpace):
raise TypeError("RGSpace required")
if dom.harmonic:
raise TypeError("RGSpace must not be harmonic")
if len(new_shape) != len(dom.shape):
raise ValueError("Shape mismatch")
if any([a < b for a, b in zip(new_shape, dom.shape)]):
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