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
I am opening a new issue here. I first mentioned it in issue 161 but didn't get attention. I think this is a very easy fix.
sample has trouble dispatching method 8 of the methods table:
sample
sample(a::AbstractArray, dims::Tuple{Vararg{Int64,N}} where N; replace, ordered)
so sample(1:100, (2,2)) gives a methods error:
sample(1:100, (2,2))
julia> sample(1:100, (2,2)) ERROR: MethodError: no method matching sample!(::MersenneTwister, ::UnitRange{Int64}, ::Array{Int64,2}, ::MersenneTwister; replace=true, ordered=false)
I think this is because the rng argument is repeated in line 393 of sampling.jl
The text was updated successfully, but these errors were encountered:
Thanks. Can you suggest a fix or make a pull request?
Sorry, something went wrong.
Fixes Issue #482 (issue with multidimensional sampling) (#483)
b8a6245
No branches or pull requests
I am opening a new issue here. I first mentioned it in issue 161 but didn't get attention. I think this is a very easy fix.
sample
has trouble dispatching method 8 of the methods table:so
sample(1:100, (2,2))
gives a methods error:I think this is because the rng argument is repeated in line 393 of sampling.jl
The text was updated successfully, but these errors were encountered: