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
Open sidebar
ift
NIFTy
Commits
9e708e60
Commit
9e708e60
authored
Oct 10, 2017
by
Martin Reinecke
Browse files
use k_lengths instead of get_k_lengths()
parent
e3ab3191
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/direct_smoothing_operator.py
View file @
9e708e60
...
...
@@ -96,7 +96,7 @@ class DirectSmoothingOperator(EndomorphicOperator):
affected_axes
=
x
.
domain
.
axes
[
self
.
_space
]
axis
=
affected_axes
[
0
]
distances
=
x
.
domain
[
self
.
_space
].
get_
k_length
_array
()
distances
=
x
.
domain
[
self
.
_space
].
k_length
s
if
self
.
_log_distances
:
distances
=
np
.
log
(
np
.
maximum
(
distances
,
1e-15
))
...
...
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