79474399

Date: 2025-02-28 02:56:02
Score: 1
Natty:
Report link

Your energy function contains NumPy operations (sum, linspace, etc.) and a custom deriv function that likely uses NumPy, which breaks JAX’s tracing,that's why there is an error.

Try to replace all NumPy operations with jax.numpy in the energy function and deriv.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bigmacsetnotenough