-
Notifications
You must be signed in to change notification settings - Fork 431
Closed
Description
The following code should not promote to Float64
julia> Wishart(3f0, [ 1f0;; ]) |> rand
1×1 Matrix{Float64}:
1.7289491201235807Works fine for other distributions (I didn't check all of them though):
julia> Normal(0f0, 1f0) |> rand
0.4961709f0
julia> MvNormal([ 0f0 ], [ 1f0 ]) |> rand
1-element Vector{Float32}:
-0.06129361logpdf seems to be fine for Wishart:
julia> logpdf(Wishart(3f0, [ 1f0;; ]), [1f0;;])
-1.4189385f0Metadata
Metadata
Assignees
Labels
No labels