We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e15fc6 commit 38d7993Copy full SHA for 38d7993
examples/gaussian_nondiagcov.py
@@ -131,7 +131,7 @@ def run_example(
131
# Define the number of dimensions and the mean of the Gaussian
132
num_samples = nchains * samples_per_chain
133
# Initialize a PRNG key (you can use any valid key)
134
- key = jax.random.PRNGKey(0)
+ key = jax.random.PRNGKey(i_realisation)
135
mean = jnp.zeros(ndim)
136
137
# Generate random samples from the 2D Gaussian distribution
0 commit comments