Repository navigation
1.1.1
What's Changed
- Fix: the
NFW.convert_to_delta()function was usingspicy.optimize.minimize()(with JAX gradients). This made the function not JAX-friendly; switched tojaxoptto solve that problem. - New tests: added
test_jax_friendliness.py, meant to include tests to identify these problems by checking whether possibly sensitive functions (e.g. with external dependencies) can be used in JAX control flows (besides the already-implemented accuracy tests).
Full Changelog: 1.1.0...1.1.1