diff --git a/ext/DynamicPPLTestExt/sampler.jl b/ext/DynamicPPLTestExt/sampler.jl index f41b15360..1134d4121 100644 --- a/ext/DynamicPPLTestExt/sampler.jl +++ b/ext/DynamicPPLTestExt/sampler.jl @@ -8,7 +8,8 @@ Return the mean of variable represented by `varname` in `chain`. """ -DynamicPPL.TestUtils.marginal_mean_of_samples(chain, varname) = mean(Array(chain[Symbol(varname)])) +DynamicPPL.TestUtils.marginal_mean_of_samples(chain, varname) = + mean(Array(chain[Symbol(varname)])) """ test_sampler(models, sampler, args...; kwargs...)