Skip to content

Commit

Permalink
Merge pull request #270 from vpuri3/patch-1
Browse files Browse the repository at this point in the history
Replace `.*(Number, Diagonal)` with `*(Number, Diagonal)`
  • Loading branch information
ChrisRackauckas authored Nov 3, 2023
2 parents 37a62f2 + 0463e08 commit a607868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/levenberg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a607868

Please sign in to comment.