Skip to content

Commit

Permalink
remove eqx.debug.nan, fixes 2629 (#2630)
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich authored Dec 17, 2024
1 parent 3206fce commit 45f64cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sdist/amici/jax/petab.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def run_simulation(
simulation_condition[0], p
)
return self.model.simulate_condition(
p=eqx.debug.backward_nan(p),
p=p,
ts_init=jax.lax.stop_gradient(jnp.array(ts_preeq)),
ts_dyn=jax.lax.stop_gradient(jnp.array(ts_dyn)),
ts_posteq=jax.lax.stop_gradient(jnp.array(ts_posteq)),
Expand Down

0 comments on commit 45f64cb

Please sign in to comment.