Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tor Fjelde authored and Tor Fjelde committed Dec 10, 2024
1 parent 5dce265 commit 5ee44e3
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 @@ -194,7 +194,7 @@ function AbstractMCMC.step(
convert(AbstractVector{T}, initial_params)
end
# Initialize the Cholesky factor of the covariance matrix.
S_data if sampler.S === nothing
S_data = if sampler.S === nothing
LinearAlgebra.diagm(0 => ones(T, d))
else
# Check the dimensionality of the provided `S`.
Expand Down

0 comments on commit 5ee44e3

Please sign in to comment.