Skip to content

Commit 717011b

Browse files
committed
use original vi (shouldn't make a difference)
1 parent 2b6e49e commit 717011b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/SliceSamplingTuringExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function SliceSampling.initial_sample(rng::Random.AbstractRNG, ℓ::Turing.LogDe
5151
# NOTE: This will sample in the unconstrained space.
5252
vi_spl = last(
5353
Turing.DynamicPPL.init!!(
54-
rng, model, vi_spl, Turing.InitFromUniform()
54+
rng, model, vi, Turing.InitFromUniform()
5555
),
5656
)
5757
ℓp = Turing.DynamicPPL.getlogjoint_internal(vi_spl)

0 commit comments

Comments
 (0)