Ha! It is Base.GLOBAL_RNG
On Wednesday, March 30, 2016 at 9:42:32 AM UTC-7, Tim Wheeler wrote: > > Hello Julia Users, > > Does the Julia global RNG have a name? Is it possible to do something as > follows? > > function sample_batch!(batch, dataset, rng::AbstractRNG = JULIA_GLOBAL_RNG > ) > ... > end > > Do I have to do something like this? > > function sample_batch!(rng::AbstractRNG, batch, dataset) > ... > end > > function sample_batch!(batch, dataset) > ... > end > > Thanks! > -Tim >