AbstractMCMC.jl
AbstractMCMC.jl copied to clipboard
Default `bundle_samples` is quite annoying
The default implementation of bundle_samples specializes on Vector{T}, which in becomes very annoying if you want to implement your own bundle_samples, e.g. if you then use AbstractVector you almost immediately run into ambiguity errors.
https://github.com/TuringLang/AbstractMCMC.jl/blob/7192263f967b4a6bb1f78957c734a6a41c383026/src/interface.jl#L38-L44
In addition, IIUC it seems quite "useless" given that by default sample already returns a Vector of the transitions?
Thoughts on removing this?
Do you have any thoughts on this @devmotion ?