You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Turing
@modelmwe(::Type{T}=Float64) where {T<:Real} =begin
m =Matrix{T}(undef, 2, 3)
m .~MvNormal(zeros(2), 1)
endsample(mwe(), HMC(0.2, 4), 1_000)
gives
MethodError: no method matching dim(::MvNormal{Float64,PDMats.ScalMat{Float64},Array{Float64,1}})
Closest candidates are:
dim(!Matched::PDMats.PDMat) at /afs/inf.ed.ac.uk/user/s16/s1672897/.julia/packages/PDMats/nKT0N/src/pdmat.jl:30
dim(!Matched::PDMats.PDSparseMat) at /afs/inf.ed.ac.uk/user/s16/s1672897/.julia/packages/PDMats/nKT0N/src/pdsparsemat.jl:30
dim(!Matched::PDMats.PDiagMat) at /afs/inf.ed.ac.uk/user/s16/s1672897/.julia/packages/PDMats/nKT0N/src/pdiagmat.jl:26
...
The text was updated successfully, but these errors were encountered:
gives
The text was updated successfully, but these errors were encountered: