Commit 9c9317a9 authored by Lukas Platz's avatar Lukas Platz

fixing (?) WF curvature: condition on wrong iteration controller

parent a675f9ad
......@@ -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