Skip to content

Commit 6f8fda4

Browse files
Tor FjeldeTor Fjelde
authored andcommitted
use explicit Cholesky constructor for backwards compat
1 parent 6295e78 commit 6f8fda4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RobustAdaptiveMetropolis.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ function ram_adapt(
169169
# TODO: Maybe do in-place and then have the user extract it with a callback if they really want it.
170170
S_new = if sign(Δα) == 1
171171
# One rank update.
172-
LinearAlgebra.lowrankupdate(LinearAlgebra.Cholesky(S), ΔS).L
172+
LinearAlgebra.lowrankupdate(LinearAlgebra.Cholesky(S.data, :L, 0), ΔS).L
173173
else
174174
# One rank downdate.
175-
LinearAlgebra.lowrankdowndate(LinearAlgebra.Cholesky(S), ΔS).L
175+
LinearAlgebra.lowrankdowndate(LinearAlgebra.Cholesky(S.data, :L, 0), ΔS).L
176176
end
177177
return S_new, η
178178
end

0 commit comments

Comments
 (0)