Skip to content

Commit 5ee44e3

Browse files
Tor FjeldeTor Fjelde
authored andcommitted
fixed typo
1 parent 5dce265 commit 5ee44e3

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
@@ -194,7 +194,7 @@ function AbstractMCMC.step(
194194
convert(AbstractVector{T}, initial_params)
195195
end
196196
# Initialize the Cholesky factor of the covariance matrix.
197-
S_data if sampler.S === nothing
197+
S_data = if sampler.S === nothing
198198
LinearAlgebra.diagm(0 => ones(T, d))
199199
else
200200
# Check the dimensionality of the provided `S`.

0 commit comments

Comments
 (0)