From fa0790285bcc6b9a1af6cae9dd0cc42bfa7d56c0 Mon Sep 17 00:00:00 2001 From: Thibaut Lienart Date: Thu, 11 Jul 2019 14:57:39 +0100 Subject: [PATCH] docstring fix add `rng` in the signature of the `partition` function --- src/utilities.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities.jl b/src/utilities.jl index b31afdb4..5703c0da 100644 --- a/src/utilities.jl +++ b/src/utilities.jl @@ -1,5 +1,5 @@ """ - partition(rows::AbstractVector{Int}, fractions...; shuffle=false) + partition(rows::AbstractVector{Int}, fractions...; shuffle=false, rng=Random.GLOBAL_RNG) Splits the vector `rows` into a tuple of vectors whose lengths are given by the corresponding `fractions` of `length(rows)`. The last