Skip to content

Commit

Permalink
Merge pull request #275 from avik-pal/patch-1
Browse files Browse the repository at this point in the history
LM needs to be `_vcat` not `vcat`
  • Loading branch information
ChrisRackauckas authored Nov 3, 2023
2 parents a607868 + e634dc0 commit b8d43a3
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

2 comments on commit b8d43a3

@avik-pal
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/94705

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v2.6.1 -m "<description of version>" b8d43a31905d8dadef00e62876be8289088903f6
git push origin v2.6.1

Please sign in to comment.