Skip to content

Commit ebead0d

Browse files
committed
fix doctests too
1 parent 50bd986 commit ebead0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simple_varinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ julia> rng = StableRNG(42);
3939
julia> # In the `NamedTuple` version we need to provide the place-holder values for
4040
# the variables which are using "containers", e.g. `Array`.
4141
# In this case, this means that we need to specify `x` but not `m`.
42-
_, vi = DynamicPPL.sample!!(rng, m, SimpleVarInfo((x = ones(2), )), ctx);
42+
_, vi = DynamicPPL.sample!!(rng, m, SimpleVarInfo((x = ones(2), )));
4343
4444
julia> # (✓) Vroom, vroom! FAST!!!
4545
vi[@varname(x[1])]

0 commit comments

Comments
 (0)