Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ajouellette committed May 1, 2024
1 parent 816069f commit c8399e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jax_cosmo/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def tree_flatten(self):
def tree_unflatten(cls, aux_data, children):
# Retrieve base parameters
Omega_c, Omega_b, h, n_s, sigma8, Omega_k, w0, wa = children[:8]
children = list(children[8:]).reverse()
children = list(children[8:])
children.reverse()

# We extract the remaining parameters in reverse order from how they
# were inserted
Expand Down

0 comments on commit c8399e0

Please sign in to comment.