Skip to content

Commit 350980e

Browse files
authored
Fix documentation of interface
1 parent e10d21d commit 350980e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Statistics.mean(dist::GaussianPrior) = ...
6767
# `rand(rng, dist)` should be implemented
6868
# - otherwise only `rand!(rng, dist, sample)` is required
6969
Base.rand(rng::AbstractRNG, dist::GaussianPrior) = ...
70-
Base.rand!(rng::AbstractRNG, dist::GaussianPrior, sample) = ...
70+
Random.rand!(rng::AbstractRNG, dist::GaussianPrior, sample) = ...
7171

7272
# specify the type of a sample from the distribution
7373
Base.eltype(::Type{<:GaussianPrior}) = ...

0 commit comments

Comments
 (0)