Skip to content

Commit

Permalink
Remove lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Aug 11, 2023
1 parent 0a07e40 commit 0f396a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lessons/python/6_functions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"outputs": [],
"source": [
"def calculate_time_step(grid_spacing, diffusivity):\n",
" return grid_spacing ** 2 / diffusivity / 2.1"
" return grid_spacing**2 / diffusivity / 2.1"
]
},
{
Expand Down Expand Up @@ -465,7 +465,7 @@
" print(example.__doc__)\n",
" D = 100 # diffusivity\n",
" Lx = 10 # domain length\n",
" dx = 0.5 # grid spacing\n",
" dx = 0.5 # grid spacing\n",
"\n",
" dt = calculate_time_step(dx, D)\n",
" C = set_initial_profile(Lx)\n",
Expand Down

0 comments on commit 0f396a7

Please sign in to comment.