Skip to content

Commit 2cef519

Browse files
authored
Update jax.py
1 parent 42502bd commit 2cef519

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uncertaintyx/fit/eiv/jax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def post(p: Array) -> tuple[Array, Array]:
243243
"""
244244
hess = jax.hessian(S)
245245
pcov = jli.pinv(hess(p).reshape(p.size, -1))
246-
punc = jnp.sqrt(jnp.diag(pcov)).reshape(p.shape)
246+
punc = jnp.sqrt(jnp.diag(pcov))
247247
return pcov.reshape(p.shape + p.shape), punc.reshape(p.shape)
248248

249249
if ux is None:

0 commit comments

Comments
 (0)