Skip to content

Commit

Permalink
Decided not to have a default RNG type
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah committed Jan 22, 2013
1 parent 73f5da9 commit 6dc0fbf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions base/random.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ type MersenneTwister <: AbstractRNG
end
end

# MersenneTwister is the default RNG.
const RNG = MersenneTwister

function srand(r::MersenneTwister, seed)
r.seed = seed
dsfmt_init_gen_rand(r.state, seed)
Expand Down

1 comment on commit 6dc0fbf

@StefanKarpinski
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've got to delete the export too.

Please sign in to comment.