Skip to content

Commit 41f5d47

Browse files
authored
Merge branch 'master' into sunxd/remove_prob_macro
2 parents a8bb505 + 48487cc commit 41f5d47

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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)

test/turing/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
77
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
88

99
[compat]
10-
DynamicPPL = "0.24, 0.25"
10+
DynamicPPL = "0.24, 0.25, 0.26"
1111
ReverseDiff = "1.15"
1212
Turing = "0.31"
1313
julia = "1.7"

0 commit comments

Comments
 (0)