Skip to content

Commit

Permalink
fix for NONCONST_CLS
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich committed Oct 24, 2024
1 parent 7c3aef9 commit c548c93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/sdist/amici/jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ def _run(
ts, ps, k, x0, checkpointed=checkpointed
)
else:
x = tuple(jnp.array([x0_i] * len(ts)) for x0_i in x0)
x = tuple(

Check warning on line 170 in python/sdist/amici/jax.py

View check run for this annotation

Codecov / codecov/patch

python/sdist/amici/jax.py#L170

Added line #L170 was not covered by tests
self.x_solver(jnp.array([x0_i] * len(ts)) for x0_i in x0)
)
tcl = self.tcl(x0, ps, k)
stats = None

Check warning on line 174 in python/sdist/amici/jax.py

View check run for this annotation

Codecov / codecov/patch

python/sdist/amici/jax.py#L173-L174

Added lines #L173 - L174 were not covered by tests
obs = self._obs(ts, x, ps, k, tcl)
Expand Down

0 comments on commit c548c93

Please sign in to comment.