Skip to content

Commit

Permalink
It's diffusion_example, not example
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Aug 11, 2023
1 parent 9932f11 commit b922c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lessons/python/functions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@
"source": [
"def diffusion_example():\n",
" \"\"\"An example of using `solve1d` in a diffusion problem.\"\"\"\n",
" print(example.__doc__)\n",
" print(diffusion_example.__doc__)\n",
" D = 100 # diffusivity\n",
" Lx = 10 # domain length\n",
" dx = 0.5 # grid spacing\n",
Expand All @@ -522,7 +522,7 @@
"write functions to address the smaller pieces,\n",
"then assemble the functions to solve the problem.\n",
"\n",
"Run the example `example`."
"Run the example `diffusion_example`."
]
},
{
Expand Down

0 comments on commit b922c3e

Please sign in to comment.