Skip to content

Commit

Permalink
merge resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
lockwo committed Mar 4, 2024
1 parent 83b376b commit 0180958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def f_bwd(res, g):
f_custom.defvjp(f_fwd, f_bwd)
jax_hess = jax.hessian(f)(1.0, 2.0)
eqx_hess = eqx.filter_hessian(f)(jnp.array(1.0), jnp.array(2.0))
assert shaped_allclose(jax_hess, eqx_hess)
assert tree_allclose(jax_hess, eqx_hess)


def test_filter_custom_jvp_symbolic_zero():
Expand Down

0 comments on commit 0180958

Please sign in to comment.