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
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
NIFTy
Commits
1ac2d6e3
Commit
1ac2d6e3
authored
Dec 11, 2018
by
Martin Reinecke
Browse files
cosmetic tweak by lplatz
parent
76550313
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/exp_transform.py
View file @
1ac2d6e3
...
...
@@ -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
)
...
...
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