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 5dce265 commit 5ee44e3Copy full SHA for 5ee44e3
src/RobustAdaptiveMetropolis.jl
@@ -194,7 +194,7 @@ function AbstractMCMC.step(
194
convert(AbstractVector{T}, initial_params)
195
end
196
# Initialize the Cholesky factor of the covariance matrix.
197
- S_data if sampler.S === nothing
+ S_data = if sampler.S === nothing
198
LinearAlgebra.diagm(0 => ones(T, d))
199
else
200
# Check the dimensionality of the provided `S`.
0 commit comments