From 53e6f69745a68c3de2e21e9627ce065331e7ff8e Mon Sep 17 00:00:00 2001 From: Rafael Fourquet Date: Thu, 8 Jun 2017 12:43:29 +0200 Subject: [PATCH] oups, bad quotes --- base/random.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/random.jl b/base/random.jl index 02bea3d8a2e2a..f95e0ed7354a4 100644 --- a/base/random.jl +++ b/base/random.jl @@ -274,6 +274,7 @@ julia> rand(Int, 2) julia> rand(MersenneTwister(0), Dict(1=>2, 3=>4)) 1=>2 +``` !!! note The complexity of `rand(rng, s::Union{Associative,AbstractSet})` @@ -282,7 +283,6 @@ julia> rand(MersenneTwister(0), Dict(1=>2, 3=>4)) `Set` and `IntSet`. For more than a few calls, use `rand(rng, collect(s))` instead, or either `rand(rng, Dict(s))` or `rand(rng, Set(s))` as appropriate. -``` """ @inline rand() = rand(GLOBAL_RNG, CloseOpen) @inline rand(T::Type) = rand(GLOBAL_RNG, T)