Skip to content

Commit 921f3fb

Browse files
authored
Merge pull request #352 from PyAutoLabs/feature/group-features
fix: restore jax.tree_util.Partial in omega() for PowerLaw+JAX
2 parents c017003 + 646772a commit 921f3fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autogalaxy/profiles/mass/total/jax_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def omega(eiphi, slope, factor, n_terms=20, xp=np):
3232
be sufficient most of the time)
3333
"""
3434

35-
from functools import partial
35+
from jax.tree_util import Partial as partial
3636
import jax
3737

3838
scan = jax.jit(jax.lax.scan, static_argnames=("length", "reverse", "unroll"))

0 commit comments

Comments
 (0)