Skip to content

Commit 48487cc

Browse files
authored
potential typo fix (#605)
1 parent 5b53be7 commit 48487cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ Base.rand(model::Model) = rand(Random.default_rng(), NamedTuple, model)
10531053
10541054
Return the log joint probability of variables `varinfo` for the probabilistic `model`.
10551055
1056-
See [`logjoint`](@ref) and [`loglikelihood`](@ref).
1056+
See [`logprior`](@ref) and [`loglikelihood`](@ref).
10571057
"""
10581058
function logjoint(model::Model, varinfo::AbstractVarInfo)
10591059
return getlogp(last(evaluate!!(model, varinfo, DefaultContext())))

src/simple_varinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ end
575575
576576
Return the log joint probability of variables `θ` for the probabilistic `model`.
577577
578-
See [`logjoint`](@ref) and [`loglikelihood`](@ref).
578+
See [`logprior`](@ref) and [`loglikelihood`](@ref).
579579
580580
# Examples
581581
```jldoctest; setup=:(using Distributions)

0 commit comments

Comments
 (0)