Skip to content

Commit

Permalink
use jax odeint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajouellette committed May 1, 2024
1 parent c8399e0 commit 5c3a0f7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion jax_cosmo/background.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# This module implements various functions for the background COSMOLOGY
import jax.numpy as np
from jax import lax
from jax.experimental.ode import odeint

import jax_cosmo.constants as const
from jax_cosmo.scipy.interpolate import interp
from jax_cosmo.scipy.ode import odeint

__all__ = [
"w",
Expand Down
1 change: 0 additions & 1 deletion jax_cosmo/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import jax.numpy as np
from jax.experimental.ode import odeint
from jax.tree_util import register_pytree_node_class

import jax_cosmo.constants as const
Expand Down
22 changes: 0 additions & 22 deletions jax_cosmo/scipy/ode.py

This file was deleted.

0 comments on commit 5c3a0f7

Please sign in to comment.