Skip to content

Commit 304b63e

Browse files
Update model.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 76ef40f commit 304b63e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/model.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,12 @@ function predict(model::Model, chain; include_all=false)
12221222
return predict(Random.default_rng(), model, chain; include_all)
12231223
end
12241224

1225-
function predict(rng::Random.AbstractRNG, model::Model, varinfos::AbstractArray{<:AbstractVarInfo}; include_all=false)
1225+
function predict(
1226+
rng::Random.AbstractRNG,
1227+
model::Model,
1228+
varinfos::AbstractArray{<:AbstractVarInfo};
1229+
include_all=false,
1230+
)
12261231
predictive_samples = Array{PredictiveSample}(undef, size(varinfos))
12271232
for i in eachindex(varinfos)
12281233
model(rng, varinfos[i], SampleFromPrior())

0 commit comments

Comments
 (0)