Skip to content

Commit

Permalink
Update README.md (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
gil2rok authored Aug 13, 2024
1 parent 834f55d commit 4a11236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ state = nuts.init(initial_position)
# Iterate
rng_key = jax.random.key(0)
step = jax.jit(nuts.step)
for step in range(100):
nuts_key = jax.random.fold_in(rng_key, step)
for i in range(100):
nuts_key = jax.random.fold_in(rng_key, i)
state, _ = step(nuts_key, state)
```

Expand Down

0 comments on commit 4a11236

Please sign in to comment.