Skip to content
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

rand! has no method matching rand!(::MersenneTwister, ::Array{Float64,1}) #7643

Closed
grayclhn opened this issue Jul 17, 2014 · 0 comments · Fixed by #7644
Closed

rand! has no method matching rand!(::MersenneTwister, ::Array{Float64,1}) #7643

grayclhn opened this issue Jul 17, 2014 · 0 comments · Fixed by #7644
Labels
randomness Random number generation and the Random stdlib

Comments

@grayclhn
Copy link
Contributor

In version 0.3.0-rc1+59 (commit e963643) rand! is missing a method, so

julia> rand(MersenneTwister(1), 1)

gives the error

ERROR: `rand!` has no method matching rand!(::MersenneTwister, ::Array{Float64,1})
 in rand at random.jl:125

I'll submit a pull request that adds the missing function after submitting this issue.

The full output from versioninfo() is

Julia Version 0.3.0-rc1+60
Commit 4970f72 (2014-07-17 20:08 UTC)
Platform Info:
  System: Linux (x86_64-redhat-linux6E)
  CPU: Intel(R) Xeon(R) CPU           X5482  @ 3.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT NO_AFFINITY PENRYN)
  LAPACK: libopenblas
  LIBM: libopenlibm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
randomness Random number generation and the Random stdlib
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants