We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
julia> using Random, Distributions julia> v = [0.; 0.]; rand!(v, product_distribution([Normal(), Normal()])) ERROR: StackOverflowError: Stacktrace: [1] rand!(rng::Xoshiro, A::Vector{Float64}, X::DiagNormal) (repeats 2 times) @ Random ~/.julia/juliaup/julia-1.11.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Random/src/Random.jl:268
I'm using Distributions v0.25.11, Random v1.11.0, Julia 1.11.1, macOS 15.0.1. It also happens in Windows.
The text was updated successfully, but these errors were encountered:
You called rand! with the wrong order of arguments:
rand!
julia> v = [0.; 0.]; rand!(product_distribution([Normal(), Normal()]), v) 2-element Vector{Float64}: 1.6469037630817407 -0.28028314140184024
Sorry, something went wrong.
No branches or pull requests
I'm using Distributions v0.25.11, Random v1.11.0, Julia 1.11.1, macOS 15.0.1. It also happens in Windows.
The text was updated successfully, but these errors were encountered: