Skip to content

Commit

Permalink
[L5-1] Correct small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mesnardo committed Aug 30, 2018
1 parent 316dd5f commit a7995df
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lessons/05_relax/05_01_2D.Laplace.Equation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
" The final relative L2-norm of the difference.\n",
" \"\"\"\n",
" p = p0.copy()\n",
" diff = rtol + 1.0 # intial difference\n",
" diff = rtol + 1.0 # initial difference\n",
" ite = 0 # iteration index\n",
" while diff > rtol and ite < maxiter:\n",
" pn = p.copy()\n",
Expand Down Expand Up @@ -645,8 +645,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"Let's make a gorgeous plot of the final field using the newly minted `plot_3D` function."
"Let's make a gorgeous plot of the final field using the newly minted `plot_3d` function."
]
},
{
Expand Down Expand Up @@ -1214,7 +1213,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.6.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit a7995df

Please sign in to comment.