From b922c3eee1e9c6960e81407c3742da1d79ea211b Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 11 Aug 2023 16:45:45 -0600 Subject: [PATCH] It's diffusion_example, not example --- lessons/python/functions.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lessons/python/functions.ipynb b/lessons/python/functions.ipynb index bc7014c..f425cd4 100644 --- a/lessons/python/functions.ipynb +++ b/lessons/python/functions.ipynb @@ -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", @@ -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`." ] }, {