Skip to content

Commit a85e0e0

Browse files
penelopeysmmhauru
andauthored
Update HISTORY.md
Co-authored-by: Markus Hauru <[email protected]>
1 parent 8dc53d8 commit a85e0e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ These functions check whether a given `VarName` has a value in the given `NamedT
88

99
The optional `Distribution` argument allows one to reconstruct a full value from its component indices.
1010
For example, if `container` has `x[1]` and `x[2]`, then `hasvalue(container, @varname(x), dist)` will return true if `size(dist) == (2,)` (for example, `MvNormal(zeros(2), I)`).
11+
In this case plain `hasvalue(container, @varname(x))` would return `false`, since we can not know whether the vector-valued variable `x` has all of its elements specified in `container` (there might be an `x[3]` missing).
1112

1213
These functions (without the `Distribution` argument) were previously in DynamicPPL.jl (albeit unexported).
1314

0 commit comments

Comments
 (0)