diff --git a/src/levenberg.jl b/src/levenberg.jl index 8ff47af53..fa3189332 100644 --- a/src/levenberg.jl +++ b/src/levenberg.jl @@ -356,7 +356,7 @@ function perform_step!(cache::LevenbergMarquardtCache{false, fastls}) where {fas # Usual Levenberg-Marquardt step ("velocity"). if fastls - cache.mat_tmp = vcat(J, λ * cache.DᵀD) + cache.mat_tmp = _vcat(J, λ * cache.DᵀD) cache.rhs_tmp[1:length(fu1)] .= -_vec(fu1) linres = dolinsolve(alg.precs, linsolve; A = cache.mat_tmp, b = cache.rhs_tmp, linu = _vec(cache.v), p = p, reltol = cache.abstol)