We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42502bd commit 2cef519Copy full SHA for 2cef519
1 file changed
uncertaintyx/fit/eiv/jax.py
@@ -243,7 +243,7 @@ def post(p: Array) -> tuple[Array, Array]:
243
"""
244
hess = jax.hessian(S)
245
pcov = jli.pinv(hess(p).reshape(p.size, -1))
246
- punc = jnp.sqrt(jnp.diag(pcov)).reshape(p.shape)
+ punc = jnp.sqrt(jnp.diag(pcov))
247
return pcov.reshape(p.shape + p.shape), punc.reshape(p.shape)
248
249
if ux is None:
0 commit comments