From 350980e039904b00c337a638d200bc2a06d2ef6f Mon Sep 17 00:00:00 2001 From: David Widmann Date: Sun, 1 Dec 2019 16:44:03 +0100 Subject: [PATCH] Fix documentation of interface --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a9ba9cb..9e07e2a 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Statistics.mean(dist::GaussianPrior) = ... # `rand(rng, dist)` should be implemented # - otherwise only `rand!(rng, dist, sample)` is required Base.rand(rng::AbstractRNG, dist::GaussianPrior) = ... -Base.rand!(rng::AbstractRNG, dist::GaussianPrior, sample) = ... +Random.rand!(rng::AbstractRNG, dist::GaussianPrior, sample) = ... # specify the type of a sample from the distribution Base.eltype(::Type{<:GaussianPrior}) = ...