We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45820d2 commit 7405a19Copy full SHA for 7405a19
src/RobustAdaptiveMetropolis.jl
@@ -159,7 +159,7 @@ function ram_adapt(
159
S = state.S
160
# TODO: Make this configurable by defining a more general path.
161
η = state.iteration^(-sampler.γ)
162
- ΔS = η * abs(Δα) * S * U / LinearAlgebra.norm(U)
+ ΔS = (η * abs(Δα)) * S * U / LinearAlgebra.norm(U)
163
# TODO: Maybe do in-place and then have the user extract it with a callback if they really want it.
164
S_new = if sign(Δα) == 1
165
# One rank update.
0 commit comments