-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testvalue stackoverflows when called on LKJCholesky #134
Comments
It seems this is due to at least two separate issues. First, julia> d = Lebesgue(ℝ)^5
For(Lebesgue, Fill((), 5))
julia> marginals(d)
5-element mappedarray(Lebesgue, ::FillArrays.Fill{Tuple{}, 1, Tuple{Base.OneTo{Int64}}}) with eltype Lebesgue:
Lebesgue(())
Lebesgue(())
Lebesgue(())
Lebesgue(())
Lebesgue(()) I'm guessing each marginal should be a |
Thanks @sethaxen ! Yes, this is a bug. |
In the julia> using MeasureTheory
julia> testvalue(LKJCholesky(10, 2.0))
LinearAlgebra.Cholesky{Float64, LinearAlgebra.UpperTriangular{Float64, Matrix{Float64}}}
U factor:
10×10 LinearAlgebra.UpperTriangular{Float64, Matrix{Float64}}:
1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
⋅ 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
⋅ ⋅ 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
⋅ ⋅ ⋅ 1.0 0.0 0.0 0.0 0.0 0.0 0.0
⋅ ⋅ ⋅ ⋅ 1.0 0.0 0.0 0.0 0.0 0.0
⋅ ⋅ ⋅ ⋅ ⋅ 1.0 0.0 0.0 0.0 0.0
⋅ ⋅ ⋅ ⋅ ⋅ ⋅ 1.0 0.0 0.0 0.0
⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ 1.0 0.0 0.0
⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ 1.0 0.0
⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ 1.0 I've linked that PR so merging will close this |
Currently this happens.
This causes any Soss models that use LKJCholesky to fail.
The text was updated successfully, but these errors were encountered: