Commit 23aaa1b9 authored by Reimar Heinrich Leike's avatar Reimar Heinrich Leike

deleted unneccessary breaking condition

parent 588c313e
Pipeline #27696 passed with stage
in 1 minute and 28 seconds
......@@ -75,8 +75,6 @@ class Yango(Minimizer):
a = (rAr*rp - rAp*rr)/det
b = (pAp*rr - rAp*rp)/det
p = a/b*p+r
if b < 0:
raise ValueError("Not a descent direction?!")
energy, success = self._line_searcher.perform_line_search(
energy, p*b, f_k_minus_1)
if not success:
......
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