We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50bd986 commit ebead0dCopy full SHA for ebead0d
src/simple_varinfo.jl
@@ -39,7 +39,7 @@ julia> rng = StableRNG(42);
39
julia> # In the `NamedTuple` version we need to provide the place-holder values for
40
# the variables which are using "containers", e.g. `Array`.
41
# 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);
+ _, vi = DynamicPPL.sample!!(rng, m, SimpleVarInfo((x = ones(2), )));
43
44
julia> # (✓) Vroom, vroom! FAST!!!
45
vi[@varname(x[1])]
0 commit comments