Skip to content

Commit

Permalink
Fix documentation of interface
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Dec 1, 2019
1 parent e10d21d commit 350980e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}) = ...
Expand Down

0 comments on commit 350980e

Please sign in to comment.