Skip to content

Commit

Permalink
Merge pull request #92 from jpfairbanks/patch-1
Browse files Browse the repository at this point in the history
Update Simple_Differential_Equation.ipynb
  • Loading branch information
ChrisRackauckas committed Sep 2, 2016
2 parents f6fc008 + 30dce73 commit 0d1a3d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Simple_Differential_Equation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"outputs": [],
"source": [
"# Initial condtions -- x(0) and x'(0)\n",
"const start = [0.0; 0.1]\n",
"const starty = [0.0; 0.1]\n",
"\n",
"# Time vector going from 0 to 2*PI in 0.01 increments\n",
"time = 0:0.1:4*pi;"
Expand All @@ -113,7 +113,7 @@
},
"outputs": [],
"source": [
"t, y = ode45(f, start, time);"
"t, y = ode45(f, starty, time);"
]
},
{
Expand Down

0 comments on commit 0d1a3d1

Please sign in to comment.