Skip to content

Commit

Permalink
misc: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
EdCaunt committed Nov 14, 2024
1 parent bcc2487 commit be6715a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cfd/03_diffusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
" un = u.copy()\n",
" u[1:-1, 1:-1] = (un[1:-1,1:-1]\n",
" + nu*dt/dy**2 * (un[1:-1, 2:] - 2*un[1:-1, 1:-1] + un[1:-1, 0:-2])\n",
" + nu dt/dx**2 * (un[2:, 1:-1] - 2*un[1:-1, 1:-1] + un[0:-2, 1:-1]))\n",
" + nu*dt/dx**2 * (un[2:, 1:-1] - 2*un[1:-1, 1:-1] + un[0:-2, 1:-1]))\n",
" u[0, :] = 1\n",
" u[-1, :] = 1\n",
" u[:, 0] = 1\n",
Expand Down

0 comments on commit be6715a

Please sign in to comment.