Commit 52e8355f authored by Martin Reinecke's avatar Martin Reinecke

Merge branch 'wiener_filter_curvature_potential_bug' into 'NIFTy_5'

Fixing (?) `wiener_filter_curvature`: condition on wrong iteration controller

See merge request ift/nifty-dev!4
parents a675f9ad 9c9317a9
......@@ -45,7 +45,7 @@ def WienerFilterCurvature(R, N, S, iteration_controller=None,
The iteration controller to use for sampling.
"""
M = SandwichOperator.make(R, N.inverse)
if iteration_controller is not None:
if iteration_controller_sampling is not None:
op = SamplingEnabler(M, S.inverse, iteration_controller_sampling,
S.inverse)
else:
......
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