Skip to content

Commit

Permalink
Fix inv
Browse files Browse the repository at this point in the history
  • Loading branch information
SamDuffield committed May 29, 2024
1 parent 35bcfa4 commit 6b9ed8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thermox/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def inv(
ts = jnp.arange(burnin, burnin + num_samples) * dt
b = jnp.zeros(A.shape[0])
x0 = jnp.zeros_like(b)
samples = sample_identity_diffusion(key, ts, x0, A, b, 2 * jnp.eye(A.shape[0]))
samples = sample(key, ts, x0, A, b, 2 * jnp.eye(A.shape[0]))
return jnp.cov(samples.T)


Expand Down

0 comments on commit 6b9ed8f

Please sign in to comment.