@@ -63,30 +63,21 @@ function AbstractMCMC.step(
6363end
6464
6565"""
66- default_varinfo(rng, model, sampler[, context] )
66+ default_varinfo(rng, model, sampler)
6767
6868Return a default varinfo object for the given `model` and `sampler`.
6969
7070# Arguments
7171- `rng::Random.AbstractRNG`: Random number generator.
7272- `model::Model`: Model for which we want to create a varinfo object.
7373- `sampler::AbstractSampler`: Sampler which will make use of the varinfo object.
74- - `context::AbstractContext`: Context in which the model is evaluated.
7574
7675# Returns
7776- `AbstractVarInfo`: Default varinfo object for the given `model` and `sampler`.
7877"""
7978function default_varinfo (rng:: Random.AbstractRNG , model:: Model , sampler:: AbstractSampler )
80- return default_varinfo (rng, model, sampler, DefaultContext ())
81- end
82- function default_varinfo (
83- rng:: Random.AbstractRNG ,
84- model:: Model ,
85- sampler:: AbstractSampler ,
86- context:: AbstractContext ,
87- )
8879 init_sampler = initialsampler (sampler)
89- return typed_varinfo (rng, model, init_sampler, context )
80+ return typed_varinfo (rng, model, init_sampler)
9081end
9182
9283function AbstractMCMC. sample (
0 commit comments