Skip to content

Commit

Permalink
fix notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich committed Dec 7, 2024
1 parent 01cd6bb commit 17e2ef2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/examples/example_jax_petab/ExampleJaxPEtab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@
"source": [
"import jax.numpy as jnp\n",
"import diffrax\n",
"from amici.jax import ReturnValue\n",
"\n",
"# Define the simulation condition\n",
"simulation_condition = (\"model1_data1\",)\n",
Expand Down Expand Up @@ -380,7 +381,7 @@
" controller=diffrax.PIDController(atol=1e-8, rtol=1e-8),\n",
" max_steps=2**10,\n",
" adjoint=diffrax.DirectAdjoint(),\n",
" ret=\"y\", # Return observables\n",
" ret=ReturnValue.y, # Return observables\n",
" )[0]\n",
"\n",
"\n",
Expand Down

0 comments on commit 17e2ef2

Please sign in to comment.