Skip to content

Commit

Permalink
Fix documentation typo for kernel and state input
Browse files Browse the repository at this point in the history
  • Loading branch information
oarriaga authored and rlouf committed Oct 1, 2022
1 parent bdde833 commit 19d3b93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ We can use the obtained parameters to define a new kernel. Note that we do not h
```{code-cell} ipython3
%%time
states = inference_loop(rng_key, nuts.step, initial_state, 1_000)
states = inference_loop(rng_key, kernel, state, 1_000)
loc_samples = states.position["loc"].block_until_ready()
scale_samples = states.position["scale"]
Expand All @@ -198,5 +198,3 @@ ax1.plot(scale_samples)
ax1.set_xlabel("Samples")
ax1.set_ylabel("scale")
```

In the next section we'll show how we can easily extend the code to sample multiple chains in parallel.

0 comments on commit 19d3b93

Please sign in to comment.