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

RNGTest.crush problem #1

Closed
onurgu opened this issue Feb 24, 2013 · 2 comments
Closed

RNGTest.crush problem #1

onurgu opened this issue Feb 24, 2013 · 2 comments

Comments

@onurgu
Copy link

onurgu commented Feb 24, 2013

When I invoke

julia> using Distributions

julia> gf = cdf(Gamma(), rand(Gamma()));

julia> RNGTest.crush(gf)
ERROR: no method crush(Float64,)

julia> 

I get a 'no method error'.

What's the problem?

@andreasnoack
Copy link
Collaborator

There was a typo in the README file. It should be gf() = cdf(Gamma(), rand(Gamma())) such that gf is a function taking no arguments and returning uniformly distributed variates.

@onurgu
Copy link
Author

onurgu commented Feb 25, 2013

OK. Solved.

@onurgu onurgu closed this as completed Feb 25, 2013
andreasnoack pushed a commit that referenced this issue Jun 29, 2018
pointer_to_array -> unsafe_wrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants