Commit df116915 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'fix_fieldzeropadder' into 'NIFTy_6'

Fix FieldZeroPadder

See merge request !408
parents ff7dfaa8 ff5b268d
Pipeline #69527 passed with stages
in 15 minutes and 19 seconds
......@@ -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
......
Supports Markdown
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