Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 9, 2023
1 parent f46984a commit 572557b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/levenberg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function SciMLBase.__init(prob::Union{NonlinearProblem{uType, iip},
u = alias_u0 ? u0 : deepcopy(u0)
fu1 = evaluate_f(prob, u)
uf, linsolve, J, fu2, jac_cache, du, JᵀJ, v = jacobian_caches(alg, f, u, p, Val(iip);
linsolve_kwargs, linsolve_with_JᵀJ=Val(true))
linsolve_kwargs, linsolve_with_JᵀJ = Val(true))

λ = convert(eltype(u), alg.damping_initial)
λ_factor = convert(eltype(u), alg.damping_increase_factor)
Expand Down
4 changes: 2 additions & 2 deletions test/23_test_problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ end
end

@testset "TrustRegion test problem library" begin
alg_ops = (LevenbergMarquardt(; linsolve=NormalCholeskyFactorization()),
LevenbergMarquardt(; α_geodesic = 0.1, linsolve=NormalCholeskyFactorization()))
alg_ops = (LevenbergMarquardt(; linsolve = NormalCholeskyFactorization()),
LevenbergMarquardt(; α_geodesic = 0.1, linsolve = NormalCholeskyFactorization()))

# dictionary with indices of test problems where method does not converge to small residual
broken_tests = Dict(alg => Int[] for alg in alg_ops)
Expand Down

0 comments on commit 572557b

Please sign in to comment.