Closed devmotion closed 4 years ago
This helps to resolves issues with parallel sampling in EllipticalSliceSampling where each chain is just a vector of samples.
Merging #45 into master will increase coverage by
0.07%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #45 +/- ##
==========================================
+ Coverage 97.54% 97.61% +0.07%
==========================================
Files 6 6
Lines 122 126 +4
==========================================
+ Hits 119 123 +4
Misses 3 3
Impacted Files | Coverage Δ | |
---|---|---|
src/interface.jl | 91.66% <100.00%> (+1.66%) |
:arrow_up: |
src/sample.jl | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f03a17d...bb88514. Read the comment docs.
This PR tries to address https://github.com/TuringLang/AbstractMCMC.jl/issues/44 by adding a method for (hopefully) concretizing arrays of type
Vector{Any}
and achainsstack(x::AbstractVector)
that falls back toreduce(chainscat, x)
orx
, depending on whethereltype(x) <: AbstractChains
or not.