Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 23, 2024
1 parent 20f9b57 commit 425fe56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/nlls_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ using Reexport
using LineSearches: LineSearches, Static, HagerZhang, MoreThuente, StrongWolfe

linesearches = []
for ls in (Static(), HagerZhang(), MoreThuente(), StrongWolfe(), LineSearches.BackTracking())
for ls in (
Static(), HagerZhang(), MoreThuente(), StrongWolfe(), LineSearches.BackTracking())
push!(linesearches, LineSearchesJL(; method = ls))
end
push!(linesearches, BackTracking())
Expand Down Expand Up @@ -37,7 +38,6 @@ for linsolve in [nothing, LUFactorization(), KrylovJL_GMRES(), KrylovJL_LSMR()]
vjp_autodiffs = linsolve isa KrylovJL ? [nothing, AutoZygote(), AutoFiniteDiff()] :
[nothing]
for linesearch in linesearches, vjp_autodiff in vjp_autodiffs

push!(solvers, GaussNewton(; linsolve, linesearch, vjp_autodiff))
end
end
Expand Down

0 comments on commit 425fe56

Please sign in to comment.