Commit 1ac2d6e3 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

cosmetic tweak by lplatz

parent 76550313
......@@ -59,10 +59,10 @@ class ExpTransform(LinearOperator):
raise ValueError(
"Target must be a harmonic RGSpace or a power space.")
ndim = len(tgt.shape)
if np.isscalar(dof):
dof = np.full(len(tgt.shape), int(dof), dtype=np.int)
dof = np.full(ndim, int(dof), dtype=np.int)
dof = np.array(dof)
ndim = len(tgt.shape)
t_mins = np.empty(ndim)
bindistances = np.empty(ndim)
......
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