Skip to content

Commit 03406cc

Browse files
twieckiricardoV94
andcommitted
Update pymc_experimental/inference/pathfinder.py
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 79e89df commit 03406cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc_experimental/inference/pathfinder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def logprob_fn(x):
118118
w0 = random.multivariate_normal(rng_key, 2.0 + jnp.zeros(dim), jnp.eye(dim))
119119
path = blackjax.vi.pathfinder.init(rng_key, logprob_fn, w0, return_path=True, ftol=ftol)
120120

121-
pathfinder = blackjax.kernels.pathfinder(rng_key, logprob_fn, ftol=1e-4)
121+
pathfinder = blackjax.kernels.pathfinder(rng_key, logprob_fn, ftol=ftol)
122122
state = pathfinder.init(w0)
123123

124124
def inference_loop(rng_key, kernel, initial_state, num_samples):

0 commit comments

Comments
 (0)