Skip to content

Commit 0bcf3c5

Browse files
committed
Do not invalidate chainscat
1 parent 162cd6f commit 0bcf3c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structarray-connect.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ function bundle_samples(
1414
return StructArray(bundle_samples(rng, model, s, N, ts, Vector{NamedTuple}; param_names=param_names, kwargs...))
1515
end
1616

17-
AbstractMCMC.chainscat(cs::StructArray...) = [cs[i] for i in 1:length(cs)]
17+
AbstractMCMC.chainscat(c::StructArray, cs::StructArray...) = vcat(c, cs...)

0 commit comments

Comments
 (0)