Skip to content

Commit

Permalink
Load Distributions for jldoctest
Browse files Browse the repository at this point in the history
  • Loading branch information
sethaxen committed Aug 19, 2024
1 parent 3ebc3ba commit f0dd8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/namedtuple/productnamedtuple.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ directly.
# Examples
```jldoctest ProductNamedTuple; setup = :(using Random; Random.seed!(832))
```jldoctest ProductNamedTuple; setup = :(using Distributions, Random; Random.seed!(832))
julia> d = product_distribution((x=Normal(), y=Dirichlet([2, 4])))
ProductNamedTupleDistribution{(:x, :y)}(
x: Normal{Float64}(μ=0.0, σ=1.0)
Expand Down

0 comments on commit f0dd8c4

Please sign in to comment.