JuliaLang/julia — pull request #1954 by andreasnoackjensen (2013-01-09 08:08:58+00:00)
Title: Fix randbeta to use the same algorithm for all methods

The methods ```randbeta(Real,Real)``` and ```randbeta!(Real,Real,Array)``` used two different algorithms to generate the variates and the former accepted positive parameters whereas the latter only accepted parameters larger than one.