diff --git a/src/levenberg.jl b/src/levenberg.jl index 426b585fa..1a0343010 100644 --- a/src/levenberg.jl +++ b/src/levenberg.jl @@ -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) diff --git a/test/23_test_problems.jl b/test/23_test_problems.jl index 20fe388ac..d0ece7bb6 100644 --- a/test/23_test_problems.jl +++ b/test/23_test_problems.jl @@ -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)