Skip to content

Commit

Permalink
Fix error with function name
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Aug 11, 2023
1 parent a93fc00 commit 81e459b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lessons/python/ivy_diffusion/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def solve1d(concentration, grid_spacing=1.0, time_step=1.0, diffusivity=1.0):

def diffusion_example():
"""An example of using `solve1d` in a diffusion problem."""
print(example.__doc__)
print(diffusion_example.__doc__)
D = 100 # diffusivity
Lx = 10 # domain length
dx = 0.5 # grid spacing
Expand Down

0 comments on commit 81e459b

Please sign in to comment.