Commit 3e46f282 authored by Philipp Arras's avatar Philipp Arras
Browse files

Actually pass preconditioner

parent a9f3e7a1
Pipeline #52282 passed with stages
in 8 minutes and 20 seconds
......@@ -196,7 +196,7 @@ class NewtonCG(DescentMinimizer):
# compute a step length that reduces energy.value sufficiently
new_energy, success = self.line_searcher.perform_line_search(
energy=energy, pk=self.get_descent_direction(energy),
energy=energy, pk=self.get_descent_direction(energy, preconditioner),
f_k_minus_1=f_k_minus_1)
if not success:
self.reset()
......
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