Skip to content

Commit 1682569

Browse files
authored
Correction to the low rank cholesky update term (#109)
1 parent 56062a8 commit 1682569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RobustAdaptiveMetropolis.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function ram_adapt(
160160
S = state.S
161161
# TODO: Make this configurable by defining a more general path.
162162
η = state.iteration^(-sampler.γ)
163-
ΔS =* abs(Δα)) * S * U / LinearAlgebra.norm(U)
163+
ΔS = sqrt* abs(Δα)) * S * U / LinearAlgebra.norm(U)
164164
# TODO: Maybe do in-place and then have the user extract it with a callback if they really want it.
165165
S_new = if sign(Δα) == 1
166166
# One rank update.

0 commit comments

Comments
 (0)