Skip to content

Commit

Permalink
Merge pull request #31 from WarrenWeckesser/kdv-print-statements
Browse files Browse the repository at this point in the history
MAINT: Use print functions in KdV.ipynb.
  • Loading branch information
pv committed Oct 24, 2018
2 parents ca8745b + b27ad2e commit 18b940f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipython/KdV.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@
" T = 200\n",
" t = np.linspace(0, T, 501)\n",
"\n",
" print \"Computing the solution.\"\n",
" print(\"Computing the solution.\")\n",
" sol = kdv_solution(u0, t, L)\n",
"\n",
"\n",
" print \"Plotting.\"\n",
" print(\"Plotting.\")\n",
"\n",
" import matplotlib.pyplot as plt\n",
"\n",
Expand Down

0 comments on commit 18b940f

Please sign in to comment.