Commit 3150ff53 authored by Theo Steininger's avatar Theo Steininger
Browse files

Bug fixes.

parent 95df1f22
Pipeline #12269 passed with stage
in 5 minutes and 44 seconds
......@@ -18,7 +18,7 @@
from line_searching import *
from conjugate_gradient import ConjugateGradient
from descent_minimizer import QuasiNewtonMinimizer
from descent_minimizer import DescentMinimizer
from steepest_descent import SteepestDescent
from vl_bfgs import VL_BFGS
from relaxed_newton import RelaxedNewton
......@@ -148,8 +148,8 @@ class LineSearchStrongWolfe(LineSearch):
# extract the full energy from the line_energy
energy_star =
length_direction = pk.norm
step_length = alpha_star * length_direction
direction_length = pk.norm()
step_length = alpha_star * direction_length
return step_length, phi_star, energy_star
def _zoom(self, alpha_lo, alpha_hi, phi_0, phiprime_0,
Supports Markdown
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