Skip to content

Commit

Permalink
Correction to the low rank cholesky update term (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelkandiah authored Feb 24, 2025
1 parent 56062a8 commit 1682569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RobustAdaptiveMetropolis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function ram_adapt(
S = state.S
# TODO: Make this configurable by defining a more general path.
η = state.iteration^(-sampler.γ)
ΔS =* abs(Δα)) * S * U / LinearAlgebra.norm(U)
ΔS = sqrt* abs(Δα)) * S * U / LinearAlgebra.norm(U)
# TODO: Maybe do in-place and then have the user extract it with a callback if they really want it.
S_new = if sign(Δα) == 1
# One rank update.
Expand Down

0 comments on commit 1682569

Please sign in to comment.