Skip to content
GitLab
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
0ccd2278
Commit
0ccd2278
authored
Jul 13, 2017
by
Theo Steininger
Browse files
Fixed bug in fft_smoothing_operator.py
parent
57775452
Pipeline
#14841
passed with stages
in 12 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/smoothing_operator/fft_smoothing_operator.py
View file @
0ccd2278
...
...
@@ -70,7 +70,8 @@ class FFTSmoothingOperator(SmoothingOperator):
def
_get_transformator
(
self
,
dtype
):
if
dtype
not
in
self
.
_transformator_cache
:
self
.
_transformator_cache
[
dtype
]
=
FFTOperator
(
self
.
domain
,
domain_dtype
=
dtype
,
target
=
np
.
complex
)
self
.
_transformator_cache
[
dtype
]
=
FFTOperator
(
self
.
domain
,
domain_dtype
=
dtype
,
target_dtype
=
np
.
complex
)
return
self
.
_transformator_cache
[
dtype
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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