Skip to content

Commit

Permalink
Update src/linesearch.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Jan 14, 2024
1 parent a65afe7 commit 469afbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linesearch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function __generic_init(alg::LiFukushimaLineSearch, prob, fu, u)
T = promote_type(eltype(fu), eltype(u))

ϕ = @closure (u, δu, α) -> begin
@. u_cache = u + α * δu
@bb @. u_cache = u + α * δu
return NONLINEARSOLVE_DEFAULT_NORM(__eval_f(prob, fu_cache, u_cache))
end

Expand Down

0 comments on commit 469afbf

Please sign in to comment.