Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/hagerzhang.jl
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,9 @@ function (ls::HagerZhang)(ϕ, ϕdϕ,
iter += 1
end

best_alpha = alphas[argmin(values)]
throw(LineSearchException("Linesearch failed to converge, reached maximum iterations $(linesearchmax).",
alphas[ia]))


best_alpha))
end

# Check Wolfe & approximate Wolfe
Expand Down
Loading