ReactiveMP.jl icon indicating copy to clipboard operation
ReactiveMP.jl copied to clipboard

Missing rand procedure for MvNormalMeanScalePrecision

Open albertpod opened this issue 1 year ago • 1 comments

Following the discussion, we have found that sampling from MvNormalMeanScalePrecision is not implemented, i.e.

julia> dist = MvNormalMeanScalePrecision(zeros(2), 2.0)
MvNormalMeanScalePrecision{Float64, Vector{Float64}}(μ=[0.0, 0.0], γ=2.0)

julia> rand(dist)
ERROR: MethodError: no method matching length(::MvNormalMeanScalePrecision{Float64, Vector{Float64}})

albertpod avatar Mar 05 '24 09:03 albertpod

Maybe we should move this distribution in ExponentialFamily.jl?

bvdmitri avatar Mar 06 '24 08:03 bvdmitri

Fixed by #206

wouterwln avatar Sep 15 '25 11:09 wouterwln