Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmaddison committed Nov 1, 2024
1 parent 736a4b4 commit 185497c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/examples/0_getting_started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"outputs": [],
"source": [
"def pv_flux(model):\n",
" u = -model.fields[\"psi\"] @ model.grid.D_y.T\n",
" u = -model.grid.D_y(model.fields[\"psi\"]\n",
" x = jnp.array((-model.grid.L_x + jnp.cbrt(model.nu / model.beta),))\n",
" y = jnp.linspace(0, model.grid.L_y, 1025)\n",
" u_munk = model.grid.interpolate(u, x, y)[0, :]\n",
Expand Down

0 comments on commit 185497c

Please sign in to comment.