Skip to content

Commit

Permalink
Make sure seed is changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
alicjapolanska committed Sep 27, 2024
1 parent 8e15fc6 commit 38d7993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gaussian_nondiagcov.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def run_example(
# Define the number of dimensions and the mean of the Gaussian
num_samples = nchains * samples_per_chain
# Initialize a PRNG key (you can use any valid key)
key = jax.random.PRNGKey(0)
key = jax.random.PRNGKey(i_realisation)
mean = jnp.zeros(ndim)

# Generate random samples from the 2D Gaussian distribution
Expand Down

0 comments on commit 38d7993

Please sign in to comment.