Skip to content

Commit f74258e

Browse files
committed
Fix trivial typos
1 parent f794acc commit f74258e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ This release removes the feature of `VarInfo` where it kept track of which varia
8282
- `unflatten` no longer accepts a sampler as an argument
8383
- `eltype(::VarInfo)` no longer accepts a sampler as an argument
8484
- `keys(::VarInfo)` no longer accepts a sampler as an argument
85-
- `VarInfo(::VarInfo, ::Sampler, ::AbstactVector)` no longer accepts the sampler argument.
85+
- `VarInfo(::VarInfo, ::Sampler, ::AbstractVector)` no longer accepts the sampler argument.
8686

8787
### Reverse prefixing order
8888

src/compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function check_dot_tilde_rhs(@nospecialize(x))
203203
ArgumentError("the right-hand side of a `.~` must be a `UnivariateDistribution`")
204204
)
205205
end
206-
function check_dot_tilde_rhs(x::AbstactArray{<:Distribution})
206+
function check_dot_tilde_rhs(::AbstractArray{<:Distribution})
207207
msg = """
208208
As of v0.35, DynamicPPL does not allow arrays of distributions in `.~`. \
209209
Please use `product_distribution` instead, or write a loop if necessary. \

src/model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
struct Model{F,argnames,defaultnames,missings,Targs,Tdefaults,Ctx<:AbstactContext}
2+
struct Model{F,argnames,defaultnames,missings,Targs,Tdefaults,Ctx<:AbstractContext}
33
f::F
44
args::NamedTuple{argnames,Targs}
55
defaults::NamedTuple{defaultnames,Tdefaults}

0 commit comments

Comments
 (0)