Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
denismelanson committed Jul 11, 2024
1 parent 919f5fb commit c114633
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thermox/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ def solve(
key = random.PRNGKey(0)
ts = jnp.arange(burnin, burnin + num_samples) * dt
x0 = jnp.zeros_like(b)
samples = sample_identity_diffusion(key, ts, x0, A, jnp.linalg.solve(A, b), associative_scan)
samples = sample_identity_diffusion(
key, ts, x0, A, jnp.linalg.solve(A, b), associative_scan
)
return jnp.mean(samples, axis=0)


Expand Down

0 comments on commit c114633

Please sign in to comment.